summaryrefslogtreecommitdiff
path: root/stdio-common/scanf10.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdio-common/scanf10.c')
-rw-r--r--stdio-common/scanf10.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stdio-common/scanf10.c b/stdio-common/scanf10.c
index f8961378ef..27a5e66a9e 100644
--- a/stdio-common/scanf10.c
+++ b/stdio-common/scanf10.c
@@ -11,5 +11,5 @@ main (int argc, char *argv[])
printf ("retc=%d a=%d b=%d\n", retc, a, b);
- return retc == -1 && a == 6 && b == 12 ? 0 : 1;
+ return retc == 2 && a == 6 && b == 12 ? 0 : 1;
}