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 /user/lib/printf.c | |
parent | fix old checkout (diff) | |
download | comus-76ea83e70c5c852de9efdf857f6ee95be7d6e6c8.tar.gz comus-76ea83e70c5c852de9efdf857f6ee95be7d6e6c8.tar.bz2 comus-76ea83e70c5c852de9efdf857f6ee95be7d6e6c8.zip |
acpi
Diffstat (limited to 'user/lib/printf.c')
-rw-r--r-- | user/lib/printf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/user/lib/printf.c b/user/lib/printf.c index 4a85956..53f98a6 100644 --- a/user/lib/printf.c +++ b/user/lib/printf.c @@ -135,7 +135,7 @@ static void parse_width(const char **res, options_t *opts) // check varies if (*fmt == '*') { opts->width_varies = true; - *res = fmt++; + *res = ++fmt; return; } @@ -161,7 +161,7 @@ static void parse_precision(const char **res, options_t *opts) // check varies if (*fmt == '*') { opts->precision_varies = true; - *res = fmt++; + *res = ++fmt; return; } |