1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00

Increase width of padded output in stdio-common/tst-put-error.

This commit is contained in:
Joseph Myers
2012-12-05 20:02:41 +00:00
parent ea2c5872e2
commit 363313b5be
2 changed files with 6 additions and 1 deletions

View File

@ -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");