diff options
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/vsprintf.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/vsprintf.c b/lib/vsprintf.c index 97be2d07297a..38a71df48d48 100644 --- a/lib/vsprintf.c +++ b/lib/vsprintf.c | |||
| @@ -2092,6 +2092,7 @@ qualifier: | |||
| 2092 | 2092 | ||
| 2093 | case 'x': | 2093 | case 'x': |
| 2094 | spec->flags |= SMALL; | 2094 | spec->flags |= SMALL; |
| 2095 | /* fall through */ | ||
| 2095 | 2096 | ||
| 2096 | case 'X': | 2097 | case 'X': |
| 2097 | spec->base = 16; | 2098 | spec->base = 16; |
| @@ -3046,8 +3047,10 @@ int vsscanf(const char *buf, const char *fmt, va_list args) | |||
| 3046 | break; | 3047 | break; |
| 3047 | case 'i': | 3048 | case 'i': |
| 3048 | base = 0; | 3049 | base = 0; |
| 3050 | /* fall through */ | ||
| 3049 | case 'd': | 3051 | case 'd': |
| 3050 | is_sign = true; | 3052 | is_sign = true; |
| 3053 | /* fall through */ | ||
| 3051 | case 'u': | 3054 | case 'u': |
| 3052 | break; | 3055 | break; |
| 3053 | case '%': | 3056 | case '%': |
