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