summaryrefslogtreecommitdiffstats
path: root/tools/virtio
diff options
context:
space:
mode:
authorZhu Jun <zhujun2@cmss.chinamobile.com>2024-07-24 09:41:08 +0200
committerMichael S. Tsirkin <mst@redhat.com>2024-09-10 08:51:48 +0200
commita8927f69e85ec3508085e1042ca8ffe1c1ededae (patch)
tree08c7560c5db70b98303d5ce497de664907abc045 /tools/virtio
parentvirtio_balloon: introduce memory scan/reclaim info (diff)
downloadlinux-a8927f69e85ec3508085e1042ca8ffe1c1ededae.tar.xz
linux-a8927f69e85ec3508085e1042ca8ffe1c1ededae.zip
tools/virtio:Fix the wrong format specifier
The unsigned int should use "%u" instead of "%d". Signed-off-by: Zhu Jun <zhujun2@cmss.chinamobile.com> Message-Id: <20240724074108.9530-1-zhujun2@cmss.chinamobile.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Eugenio PĂ©rez <eperezma@redhat.com> Reviewed-by: Xuan Zhuo <xuanzhuo@linux.alibaba.com>
Diffstat (limited to 'tools/virtio')
-rw-r--r--tools/virtio/ringtest/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/virtio/ringtest/main.c b/tools/virtio/ringtest/main.c
index 5a18b2301a63..e471d8e7cfaa 100644
--- a/tools/virtio/ringtest/main.c
+++ b/tools/virtio/ringtest/main.c
@@ -276,7 +276,7 @@ static void help(void)
fprintf(stderr, "Usage: <test> [--help]"
" [--host-affinity H]"
" [--guest-affinity G]"
- " [--ring-size R (default: %d)]"
+ " [--ring-size R (default: %u)]"
" [--run-cycles C (default: %d)]"
" [--batch b]"
" [--outstanding o]"