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