diff options
author | Freya Murphy <freya@freyacat.org> | 2025-04-08 11:49:51 -0400 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2025-04-08 11:49:51 -0400 |
commit | 76ea83e70c5c852de9efdf857f6ee95be7d6e6c8 (patch) | |
tree | 0f00ac8591bc2978b0f4e82cf23033f4a677f306 /kernel/lib/kprintf.c | |
parent | fix old checkout (diff) | |
download | comus-76ea83e70c5c852de9efdf857f6ee95be7d6e6c8.tar.gz comus-76ea83e70c5c852de9efdf857f6ee95be7d6e6c8.tar.bz2 comus-76ea83e70c5c852de9efdf857f6ee95be7d6e6c8.zip |
acpi
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; } |