From 363313b5be5d4b357b50d322b3ab14a2ae1ccf60 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Wed, 5 Dec 2012 20:02:41 +0000 Subject: Increase width of padded output in stdio-common/tst-put-error. --- ChangeLog | 5 +++++ stdio-common/tst-put-error.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 239c4721bc..9cd4867aed 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2012-12-05 Joseph Myers + + * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of + 10000 as width of padded output. + 2012-12-04 Joseph Myers * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty. 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"); -- cgit 1.4.1