diff options
author | Stefan Weil via | 2022-11-26 16:25:02 +0100 |
---|---|---|
committer | Stefan Hajnoczi | 2022-11-27 19:33:57 +0100 |
commit | 266aaedc37d1e18af6c62f7f67c7e29887e32061 (patch) | |
tree | 7f43f20967e2448e3c15c36b16884eabae7be02f /subprojects | |
parent | virtiofsd: Add `sigreturn` to the seccomp whitelist (diff) | |
download | qemu-266aaedc37d1e18af6c62f7f67c7e29887e32061.tar.gz qemu-266aaedc37d1e18af6c62f7f67c7e29887e32061.tar.xz qemu-266aaedc37d1e18af6c62f7f67c7e29887e32061.zip |
libvhost-user: Fix wrong type of argument to formatting function (reported by LGTM)
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Message-Id: <20220422070144.1043697-2-sw@weilnetz.de>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-Id: <20221126152507.283271-2-sw@weilnetz.de>
Diffstat (limited to 'subprojects')
-rw-r--r-- | subprojects/libvhost-user/libvhost-user.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/subprojects/libvhost-user/libvhost-user.c b/subprojects/libvhost-user/libvhost-user.c index ffed4729a3..d9a6e3e556 100644 --- a/subprojects/libvhost-user/libvhost-user.c +++ b/subprojects/libvhost-user/libvhost-user.c @@ -651,7 +651,7 @@ generate_faults(VuDev *dev) { if (ioctl(dev->postcopy_ufd, UFFDIO_REGISTER, ®_struct)) { vu_panic(dev, "%s: Failed to userfault region %d " - "@%p + size:%zx offset: %zx: (ufd=%d)%s\n", + "@%" PRIx64 " + size:%zx offset: %zx: (ufd=%d)%s\n", __func__, i, dev_region->mmap_addr, dev_region->size, dev_region->mmap_offset, |