From 76ea83e70c5c852de9efdf857f6ee95be7d6e6c8 Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Tue, 8 Apr 2025 11:49:51 -0400 Subject: acpi --- kernel/lib/kprintf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kernel/lib/kprintf.c') 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; } -- cgit v1.2.3-freya