diff options
author | Christoffer Dall <christoffer.dall@linaro.org> | 2013-08-23 10:34:16 -0700 |
---|---|---|
committer | Juan Quintela <quintela@trasno.org> | 2013-09-24 13:22:50 +0200 |
commit | 5016e2df569bc7d67637060103dd360ed2f0d557 (patch) | |
tree | 2b2e15ebeee511559afa919bd29ce0a65d1a7ff1 /migration.c | |
parent | 7102400d40be7fcfb017c8f211d6a37ecead2a2f (diff) | |
download | qemu-5016e2df569bc7d67637060103dd360ed2f0d557.tar.gz qemu-5016e2df569bc7d67637060103dd360ed2f0d557.tar.bz2 qemu-5016e2df569bc7d67637060103dd360ed2f0d557.zip |
migration: Fix debug print type
The printf args are uint64_t and with -Werr QEMU doesn't compile with
migration debugging turned on unless this is fixed. Fix it.
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'migration.c')
-rw-r--r-- | migration.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/migration.c b/migration.c index 200d404547..b4f8462ae4 100644 --- a/migration.c +++ b/migration.c @@ -567,7 +567,8 @@ static void *migration_thread(void *opaque) if (!qemu_file_rate_limit(s->file)) { DPRINTF("iterate\n"); pending_size = qemu_savevm_state_pending(s->file, max_size); - DPRINTF("pending size %lu max %lu\n", pending_size, max_size); + DPRINTF("pending size %" PRIu64 " max %" PRIu64 "\n", + pending_size, max_size); if (pending_size && pending_size >= max_size) { qemu_savevm_state_iterate(s->file); } else { |