summary refs log tree commit diff
path: root/stdio-common
diff options
context:
space:
mode:
Diffstat (limited to 'stdio-common')
-rw-r--r--stdio-common/tst-fmemopen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/stdio-common/tst-fmemopen.c b/stdio-common/tst-fmemopen.c
index f22ebd52fe..84ded4f599 100644
--- a/stdio-common/tst-fmemopen.c
+++ b/stdio-common/tst-fmemopen.c
@@ -34,7 +34,7 @@ main (void)
       fputc (ch, stdout);
       if (ch != *cp)
 	{
-	  printf ("\ncharacter %d: '%c' instead of '%c'\n",
+	  printf ("\ncharacter %td: '%c' instead of '%c'\n",
 		  cp - blah, ch, *cp);
 	  exit (1);
 	}
@@ -79,7 +79,7 @@ main (void)
       fputc (ch, stdout);
       if (ch != *cp)
 	{
-	  printf ("%d character: '%c' instead of '%c'\n",
+	  printf ("%td character: '%c' instead of '%c'\n",
 		  cp - blah, ch, *cp);
 	  exit (1);
 	}