diff options
| author | Philippe Mathieu-Daudé | 2020-11-03 12:25:58 +0100 |
|---|---|---|
| committer | Dr. David Alan Gilbert | 2020-11-12 15:02:41 +0100 |
| commit | af3bbbe98405fe2d274696abe5def679a3b0c673 (patch) | |
| tree | 2cbd931bd5e068ba0dc16df9a9991f8d55db5b72 | |
| parent | Merge remote-tracking branch 'remotes/mcayland/tags/qemu-macppc-20201112' int... (diff) | |
| download | qemu-af3bbbe98405fe2d274696abe5def679a3b0c673.tar.gz qemu-af3bbbe98405fe2d274696abe5def679a3b0c673.tar.xz qemu-af3bbbe98405fe2d274696abe5def679a3b0c673.zip | |
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>
| -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 add5396a62..7811cde643 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; |
