summaryrefslogtreecommitdiff
path: root/stdio-common/bug10.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdio-common/bug10.c')
-rw-r--r--stdio-common/bug10.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stdio-common/bug10.c b/stdio-common/bug10.c
index 5e8ae25021..3e15526a43 100644
--- a/stdio-common/bug10.c
+++ b/stdio-common/bug10.c
@@ -14,7 +14,7 @@ main (int arc, char *argv)
printf("Result of sscanf = %d\n", res);
printf("Scanned format %%u = %u\n", val);
printf("Possibly scanned format %%n = %d\n", n);
- result |= res != 2 || val != 111 || n != 3;
+ result |= res != 1 || val != 111 || n != 3;
result |= sscanf ("", " %n", &n) == EOF;