diff options
author | Philippe Mathieu-Daudé <philmd@redhat.com> | 2020-11-03 12:25:58 +0100 |
---|---|---|
committer | Dr. David Alan Gilbert <dgilbert@redhat.com> | 2020-11-12 14:02:41 +0000 |
commit | af3bbbe98405fe2d274696abe5def679a3b0c673 (patch) | |
tree | 2cbd931bd5e068ba0dc16df9a9991f8d55db5b72 /migration | |
parent | cb5d19e8294486551c422759260883ed290226d9 (diff) | |
download | qemu-af3bbbe98405fe2d274696abe5def679a3b0c673.zip qemu-af3bbbe98405fe2d274696abe5def679a3b0c673.tar.gz qemu-af3bbbe98405fe2d274696abe5def679a3b0c673.tar.bz2 |
migration/ram: Fix hexadecimal format string specifier
The '%u' conversion specifier is for decimal notation.
When prefixing a format with '0x', we want the hexadecimal
specifier ('%x').
Inspired-by: Dov Murik <dovmurik@linux.vnet.ibm.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Message-Id: <20201103112558.2554390-5-philmd@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'migration')
-rw-r--r-- | migration/ram.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/migration/ram.c b/migration/ram.c index add5396..7811cde 100644 --- a/migration/ram.c +++ b/migration/ram.c @@ -3741,7 +3741,7 @@ int ram_dirty_bitmap_reload(MigrationState *s, RAMBlock *block) } if (end_mark != RAMBLOCK_RECV_BITMAP_ENDING) { - error_report("%s: ramblock '%s' end mark incorrect: 0x%"PRIu64, + error_report("%s: ramblock '%s' end mark incorrect: 0x%"PRIx64, __func__, block->idstr, end_mark); ret = -EINVAL; goto out; |