diff options
author | Adhemerval Zanella Netto <adhemerval.zanella@linaro.org> | 2022-09-01 10:02:30 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2022-09-22 08:48:04 -0300 |
commit | de477abcaaabb1f9815cb63876637a47a95e7ac1 (patch) | |
tree | 22bd98fe9a4aaa03257147db719e844fcdb42f7a /rt/tst-aio64.c | |
parent | 340097d0b50eff9d3058e06c6989ae398c653d4a (diff) | |
download | glibc-de477abcaaabb1f9815cb63876637a47a95e7ac1.tar glibc-de477abcaaabb1f9815cb63876637a47a95e7ac1.tar.gz glibc-de477abcaaabb1f9815cb63876637a47a95e7ac1.tar.bz2 glibc-de477abcaaabb1f9815cb63876637a47a95e7ac1.zip |
Use '%z' instead of '%Z' on printf functions
The Z modifier is a nonstandard synonymn for z (that predates z
itself) and compiler might issue an warning for in invalid
conversion specifier.
Reviewed-by: Florian Weimer <fweimer@redhat.com>
Diffstat (limited to 'rt/tst-aio64.c')
-rw-r--r-- | rt/tst-aio64.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rt/tst-aio64.c b/rt/tst-aio64.c index 89129160ab..f598ac097d 100644 --- a/rt/tst-aio64.c +++ b/rt/tst-aio64.c @@ -275,7 +275,7 @@ do_test (int argc, char *argv[]) for (cnt = 10; cnt > 0; ) if (aio_cancel64 (fd, cbp[--cnt]) == -1) /* This is not an error. The request can simply be finished. */ - printf ("aio_cancel64 (fd, cbp[%Zd]) cannot be canceled\n", cnt); + printf ("aio_cancel64 (fd, cbp[%zd]) cannot be canceled\n", cnt); puts ("finished2"); result |= do_wait (cbp, 10, ECANCELED); |