projects
/
platform
/
upstream
/
glibc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Quash warning in s_sincosl.
[platform/upstream/glibc.git]
/
stdio-common
/
scanf1.c
diff --git
a/stdio-common/scanf1.c
b/stdio-common/scanf1.c
index
58c78c2
..
be6d63e
100644
(file)
--- a/
stdio-common/scanf1.c
+++ b/
stdio-common/scanf1.c
@@
-9,7
+9,7
@@
main (int argc, char *argv[])
n = i = r = -1;
r = sscanf ("1234:567", "%d%n", &i, &n);
printf ("%d %d %d\n", r, n, i);
- if (r !=
2
|| i != 1234 || n != 4)
+ if (r !=
1
|| i != 1234 || n != 4)
abort ();
return 0;
}