about summary refs log tree commit diff
path: root/stdio-common/tst-put-error.c
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2012-12-05 20:02:41 +0000
committerJoseph Myers <joseph@codesourcery.com>2012-12-05 20:02:41 +0000
commit363313b5be5d4b357b50d322b3ab14a2ae1ccf60 (patch)
tree916e26e0a0ac26a91c2c989b6746fad9b696b3a1 /stdio-common/tst-put-error.c
parentea2c5872e2f63415d4126dd8845c93c3a45e3e05 (diff)
downloadglibc-363313b5be5d4b357b50d322b3ab14a2ae1ccf60.tar.gz
glibc-363313b5be5d4b357b50d322b3ab14a2ae1ccf60.tar.xz
glibc-363313b5be5d4b357b50d322b3ab14a2ae1ccf60.zip
Increase width of padded output in stdio-common/tst-put-error.
Diffstat (limited to 'stdio-common/tst-put-error.c')
-rw-r--r--stdio-common/tst-put-error.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stdio-common/tst-put-error.c b/stdio-common/tst-put-error.c
index 7b95491725..5209cce173 100644
--- a/stdio-common/tst-put-error.c
+++ b/stdio-common/tst-put-error.c
@@ -47,7 +47,7 @@ do_test (void)
     error (EXIT_FAILURE, 0, "second fprintf succeeded");
 
   /* Padded printing takes a different code path.  */
-  n = fprintf (fp, "%10000s", "foo");
+  n = fprintf (fp, "%10000000s", "foo");
   printf ("fprintf = %d\n", n);
   if (n >= 0)
     error (EXIT_FAILURE, 0, "padded fprintf succeeded");