mirror of https://github.com/xemu-project/xemu.git
sheepdog: fix dprintf format strings
This fixes warnings about dprintf format in debug mode. Signed-off-by: MORITA Kazutaka <morita.kazutaka@lab.ntt.co.jp> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
This commit is contained in:
parent
04d4abe96c
commit
1b6ac9985a
|
@ -1571,11 +1571,11 @@ static int coroutine_fn sd_co_rw_vector(void *p)
|
|||
}
|
||||
|
||||
if (create) {
|
||||
dprintf("update ino (%" PRIu32") %" PRIu64 " %" PRIu64
|
||||
" %" PRIu64 "\n", inode->vdi_id, oid,
|
||||
dprintf("update ino (%" PRIu32 ") %" PRIu64 " %" PRIu64 " %ld\n",
|
||||
inode->vdi_id, oid,
|
||||
vid_to_data_oid(inode->data_vdi_id[idx], idx), idx);
|
||||
oid = vid_to_data_oid(inode->vdi_id, idx);
|
||||
dprintf("new oid %lx\n", oid);
|
||||
dprintf("new oid %" PRIx64 "\n", oid);
|
||||
}
|
||||
|
||||
aio_req = alloc_aio_req(s, acb, oid, len, offset, flags, old_oid, done);
|
||||
|
@ -1726,7 +1726,7 @@ static int sd_snapshot_create(BlockDriverState *bs, QEMUSnapshotInfo *sn_info)
|
|||
SheepdogInode *inode;
|
||||
unsigned int datalen;
|
||||
|
||||
dprintf("sn_info: name %s id_str %s s: name %s vm_state_size %d "
|
||||
dprintf("sn_info: name %s id_str %s s: name %s vm_state_size %" PRId64 " "
|
||||
"is_snapshot %d\n", sn_info->name, sn_info->id_str,
|
||||
s->name, sn_info->vm_state_size, s->is_snapshot);
|
||||
|
||||
|
|
Loading…
Reference in New Issue