about summary refs log tree commit diff
path: root/stdio-common/bug10.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdio-common/bug10.c')
-rw-r--r--stdio-common/bug10.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/stdio-common/bug10.c b/stdio-common/bug10.c
index 53064715ab..5e8ae25021 100644
--- a/stdio-common/bug10.c
+++ b/stdio-common/bug10.c
@@ -1,7 +1,7 @@
 #include <stdio.h>
 
 int
-main(int arc, char *argv)
+main (int arc, char *argv)
 {
   int n, res;
   unsigned int val;
@@ -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 != 1 || val != 111 || n != 3;
+  result |= res != 2 || val != 111 || n != 3;
 
 
   result |= sscanf ("", " %n", &n) == EOF;