c6d234
commit eca2772b9a2b057a1af6604afb9b5d3ce3448497
c6d234
Author: Stefan Liebler <stli@linux.vnet.ibm.com>
c6d234
Date:   Wed Dec 17 16:42:51 2014 +0100
c6d234
c6d234
    Get rid of format warning in tst-widetext.c.
c6d234
c6d234
diff --git a/libio/tst-widetext.c b/libio/tst-widetext.c
c6d234
index fef57be53ca072c4..fd8b207eb30a99bf 100644
c6d234
--- a/libio/tst-widetext.c
c6d234
+++ b/libio/tst-widetext.c
c6d234
@@ -291,7 +291,7 @@ do_test (void)
c6d234
     {
c6d234
       if (fgetws (wcp, &wc2buf[wcsize] - wcp + 1, fp) == NULL)
c6d234
 	{
c6d234
-	  printf ("%u: short read using fgetws (only %Zd of %Zd)\n",
c6d234
+	  printf ("%u: short read using fgetws (only %td of %Zd)\n",
c6d234
 		  __LINE__, wcp - wc2buf, wcsize);
c6d234
 	  status = 1;
c6d234
 	  break;