]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - libio/tst_swprintf.c
Use '%z' instead of '%Z' on printf functions
[thirdparty/glibc.git] / libio / tst_swprintf.c
index 8a2ffe60ecf208b41d1b6ad4cf7c0593b976a8bc..1f997b939371da951e57fdd6d7eb80c0d5a76aa3 100644 (file)
@@ -42,18 +42,18 @@ do_test (void)
       if (tests[n].exp < 0 && res >= 0)
        {
          support_record_failure ();
-         printf ("swprintf (buf, %Zu, L\"%%s\", \"%s\") expected to fail\n",
+         printf ("swprintf (buf, %zu, L\"%%s\", \"%s\") expected to fail\n",
                  tests[n].n, tests[n].str);
        }
       else if (tests[n].exp >= 0 && tests[n].exp != res)
        {
          support_record_failure ();
          printf ("\
-swprintf (buf, %Zu, L\"%%s\", \"%s\") expected to return %Zd, but got %Zd\n",
+swprintf (buf, %zu, L\"%%s\", \"%s\") expected to return %zd, but got %zd\n",
                  tests[n].n, tests[n].str, tests[n].exp, res);
        }
       else
-       printf ("swprintf (buf, %Zu, L\"%%s\", \"%s\") OK\n",
+       printf ("swprintf (buf, %zu, L\"%%s\", \"%s\") OK\n",
                tests[n].n, tests[n].str);
     }