diff options
Diffstat (limited to 'stdio-common/bug22.c')
-rw-r--r-- | stdio-common/bug22.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stdio-common/bug22.c b/stdio-common/bug22.c index b3d48eb..029b549 100644 --- a/stdio-common/bug22.c +++ b/stdio-common/bug22.c @@ -57,7 +57,7 @@ do_test (void) ret = fprintf (fp, "%." SN3 "d", 1); printf ("ret = %d\n", ret); - if (ret != -1 || errno != EOVERFLOW) + if (ret != N3) return 1; /* GCC 9 warns about output of more than INT_MAX characters; this is |