aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/vsprintf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/vsprintf.c b/lib/vsprintf.c
index 46d34b0b74a8..20c95121d8a1 100644
--- a/lib/vsprintf.c
+++ b/lib/vsprintf.c
@@ -1980,7 +1980,7 @@ int vsscanf(const char *buf, const char *fmt, va_list args)
1980 { 1980 {
1981 char *s = (char *)va_arg(args, char *); 1981 char *s = (char *)va_arg(args, char *);
1982 if (field_width == -1) 1982 if (field_width == -1)
1983 field_width = SHORT_MAX; 1983 field_width = SHRT_MAX;
1984 /* first, skip leading white space in buffer */ 1984 /* first, skip leading white space in buffer */
1985 str = skip_spaces(str); 1985 str = skip_spaces(str);
1986 1986