about summary refs log tree commit diff
path: root/localedata/bug-iconv-trans.c
diff options
context:
space:
mode:
authorAdhemerval Zanella Netto <adhemerval.zanella@linaro.org>2022-09-01 10:02:30 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2022-09-22 08:48:04 -0300
commitde477abcaaabb1f9815cb63876637a47a95e7ac1 (patch)
tree22bd98fe9a4aaa03257147db719e844fcdb42f7a /localedata/bug-iconv-trans.c
parent340097d0b50eff9d3058e06c6989ae398c653d4a (diff)
downloadglibc-de477abcaaabb1f9815cb63876637a47a95e7ac1.tar.gz
glibc-de477abcaaabb1f9815cb63876637a47a95e7ac1.tar.xz
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 'localedata/bug-iconv-trans.c')
-rw-r--r--localedata/bug-iconv-trans.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/localedata/bug-iconv-trans.c b/localedata/bug-iconv-trans.c
index 3886247c38..f1a0416547 100644
--- a/localedata/bug-iconv-trans.c
+++ b/localedata/bug-iconv-trans.c
@@ -36,7 +36,7 @@ main (void)
       if (n == (size_t) -1)
 	printf ("iconv() returned error: %m\n");
       else
-	printf ("iconv() returned %Zd, expected 7\n", n);
+	printf ("iconv() returned %zd, expected 7\n", n);
       result = 1;
     }
   if (inlen != 0)
@@ -57,7 +57,7 @@ main (void)
     }
   else if (outlen != sizeof (outbuf) - sizeof (expected))
     {
-      printf ("outlen wrong: %Zd, expected %Zd\n", outlen,
+      printf ("outlen wrong: %zd, expected %zd\n", outlen,
 	      sizeof (outbuf) - 15);
       result = 1;
     }