Commit a8927f69 authored by Zhu Jun's avatar Zhu Jun Committed by Michael S. Tsirkin

tools/virtio:Fix the wrong format specifier

The unsigned int should use "%u" instead of "%d".
Signed-off-by: default avatarZhu Jun <zhujun2@cmss.chinamobile.com>
Message-Id: <20240724074108.9530-1-zhujun2@cmss.chinamobile.com>
Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
Reviewed-by: default avatarEugenio Pérez <eperezma@redhat.com>
Reviewed-by: default avatarXuan Zhuo <xuanzhuo@linux.alibaba.com>
parent 74c025c5
...@@ -276,7 +276,7 @@ static void help(void) ...@@ -276,7 +276,7 @@ static void help(void)
fprintf(stderr, "Usage: <test> [--help]" fprintf(stderr, "Usage: <test> [--help]"
" [--host-affinity H]" " [--host-affinity H]"
" [--guest-affinity G]" " [--guest-affinity G]"
" [--ring-size R (default: %d)]" " [--ring-size R (default: %u)]"
" [--run-cycles C (default: %d)]" " [--run-cycles C (default: %d)]"
" [--batch b]" " [--batch b]"
" [--outstanding o]" " [--outstanding o]"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment