Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Zhu Jun and committed by
Michael S. Tsirkin
a8927f69 74c025c5

+1 -1
+1 -1
tools/virtio/ringtest/main.c
··· 276 276 fprintf(stderr, "Usage: <test> [--help]" 277 277 " [--host-affinity H]" 278 278 " [--guest-affinity G]" 279 - " [--ring-size R (default: %d)]" 279 + " [--ring-size R (default: %u)]" 280 280 " [--run-cycles C (default: %d)]" 281 281 " [--batch b]" 282 282 " [--outstanding o]"