diff options
Diffstat (limited to 'posix')
-rw-r--r-- | posix/runptests.c | 2 | ||||
-rw-r--r-- | posix/wordexp-test.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/posix/runptests.c b/posix/runptests.c index ded47324ce..6dfd3a4a1a 100644 --- a/posix/runptests.c +++ b/posix/runptests.c @@ -115,7 +115,7 @@ main (int argc, char *argv[]) regfree (&re); } - printf ("\n%Zu tests, %d errors\n", cnt, errors); + printf ("\n%zu tests, %d errors\n", cnt, errors); return errors != 0; } diff --git a/posix/wordexp-test.c b/posix/wordexp-test.c index 0a36e0a7a3..e330a0c3e7 100644 --- a/posix/wordexp-test.c +++ b/posix/wordexp-test.c @@ -413,11 +413,11 @@ testit (struct test_case_struct *tc) if (bzzzt) { printf ("FAILED\n"); - printf ("info: Test words: <%s>, need retval %d, wordc %Zd\n", + printf ("info: Test words: <%s>, need retval %d, wordc %zd\n", tc->words, tc->retval, tc->wordc); if (start_offs != 0) printf ("(preceded by %d NULLs)\n", start_offs); - printf ("Got retval %d, wordc %Zd: ", retval, we.we_wordc); + printf ("Got retval %d, wordc %zd: ", retval, we.we_wordc); if (retval == 0 || retval == WRDE_NOSPACE) { for (i = 0; i < we.we_wordc + start_offs; ++i) |