Skip to content

Commit a8927f6

Browse files
Zhu Junmstsirkin
authored andcommitted
tools/virtio:Fix the wrong format specifier
The unsigned int should use "%u" instead of "%d". Signed-off-by: Zhu Jun <[email protected]> Message-Id: <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]> Reviewed-by: Eugenio Pérez <[email protected]> Reviewed-by: Xuan Zhuo <[email protected]>
1 parent 74c025c commit a8927f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/virtio/ringtest/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ static void help(void)
276276
fprintf(stderr, "Usage: <test> [--help]"
277277
" [--host-affinity H]"
278278
" [--guest-affinity G]"
279-
" [--ring-size R (default: %d)]"
279+
" [--ring-size R (default: %u)]"
280280
" [--run-cycles C (default: %d)]"
281281
" [--batch b]"
282282
" [--outstanding o]"

0 commit comments

Comments
 (0)