diff options
author | Stefan Weil via <qemu-devel@nongnu.org> | 2022-11-26 16:25:02 +0100 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2022-11-27 13:33:57 -0500 |
commit | 266aaedc37d1e18af6c62f7f67c7e29887e32061 (patch) | |
tree | 7f43f20967e2448e3c15c36b16884eabae7be02f /subprojects | |
parent | c23a95636622a32352b55a2f164a1fdf4ed34f60 (diff) | |
download | qemu-266aaedc37d1e18af6c62f7f67c7e29887e32061.zip qemu-266aaedc37d1e18af6c62f7f67c7e29887e32061.tar.gz qemu-266aaedc37d1e18af6c62f7f67c7e29887e32061.tar.bz2 |
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 ffed472..d9a6e3e 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, |