diff options
Diffstat (limited to 'kernel/lib/kprintf.c')
-rw-r--r-- | kernel/lib/kprintf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/lib/kprintf.c b/kernel/lib/kprintf.c index 40cf819..e01b091 100644 --- a/kernel/lib/kprintf.c +++ b/kernel/lib/kprintf.c @@ -129,7 +129,7 @@ static void parse_width(const char **res, options_t *opts) // check varies if (*fmt == '*') { opts->width_varies = true; - *res = fmt++; + *res = ++fmt; return; } @@ -155,7 +155,7 @@ static void parse_precision(const char **res, options_t *opts) // check varies if (*fmt == '*') { opts->precision_varies = true; - *res = fmt++; + *res = ++fmt; return; } |