about summary refs log tree commit diff
path: root/libio/tst-widetext.c
diff options
context:
space:
mode:
Diffstat (limited to 'libio/tst-widetext.c')
-rw-r--r--libio/tst-widetext.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libio/tst-widetext.c b/libio/tst-widetext.c
index acab72b708..83345d7203 100644
--- a/libio/tst-widetext.c
+++ b/libio/tst-widetext.c
@@ -291,7 +291,7 @@ do_test (void)
     {
       if (fgetws (wcp, &wc2buf[wcsize] - wcp + 1, fp) == NULL)
 	{
-	  printf ("%u: short read using fgetws (only %Zd of %Zd)\n",
+	  printf ("%u: short read using fgetws (only %td of %Zd)\n",
 		  __LINE__, wcp - wc2buf, wcsize);
 	  status = 1;
 	  break;