diff options
-rw-r--r-- | lib/vsprintf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/vsprintf.c b/lib/vsprintf.c index dc1674377009..708e505ce81f 100644 --- a/lib/vsprintf.c +++ b/lib/vsprintf.c | |||
@@ -843,7 +843,7 @@ precision: | |||
843 | spec->precision = 0; | 843 | spec->precision = 0; |
844 | } else if (*fmt == '*') { | 844 | } else if (*fmt == '*') { |
845 | /* it's the next argument */ | 845 | /* it's the next argument */ |
846 | spec->type = FORMAT_TYPE_WITDH; | 846 | spec->type = FORMAT_TYPE_PRECISION; |
847 | return ++fmt - start; | 847 | return ++fmt - start; |
848 | } | 848 | } |
849 | } | 849 | } |