[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] libvhost-user: Fix wrong type of argument to formatting function
From: |
Stefan Weil |
Subject: |
[PATCH] libvhost-user: Fix wrong type of argument to formatting function (reported by LGTM) |
Date: |
Fri, 7 Jan 2022 16:49:30 +0100 |
Signed-off-by: Stefan Weil <sw@weilnetz.de>
---
LGTM has some more alerts which need attention:
https://lgtm.com/projects/g/qemu/qemu/
Regards,
Stefan
subprojects/libvhost-user/libvhost-user.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/subprojects/libvhost-user/libvhost-user.c
b/subprojects/libvhost-user/libvhost-user.c
index 787f4d2d4f..6eb72c4200 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,
--
2.30.2
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH] libvhost-user: Fix wrong type of argument to formatting function (reported by LGTM),
Stefan Weil <=