summaryrefslogtreecommitdiff
path: root/kernel/lib/kprintf.c
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2025-04-17 14:49:33 -0400
committerFreya Murphy <freya@freyacat.org>2025-04-17 14:49:45 -0400
commit2f6d195ba384fd9e683ba3cb5aaf58797a85e9e3 (patch)
tree71fdba68b2fc707c46cb62fdab58eb7a44c88c4d /kernel/lib/kprintf.c
parentgcc14stdenv instead of clang (diff)
downloadcomus-2f6d195ba384fd9e683ba3cb5aaf58797a85e9e3.tar.gz
comus-2f6d195ba384fd9e683ba3cb5aaf58797a85e9e3.tar.bz2
comus-2f6d195ba384fd9e683ba3cb5aaf58797a85e9e3.zip
fix compile warnings
Diffstat (limited to 'kernel/lib/kprintf.c')
-rw-r--r--kernel/lib/kprintf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/lib/kprintf.c b/kernel/lib/kprintf.c
index 452e45c..3494b38 100644
--- a/kernel/lib/kprintf.c
+++ b/kernel/lib/kprintf.c
@@ -438,6 +438,7 @@ static void do_printf(context_t *ctx, va_list args)
opts.radix = 16;
opts.hash = true;
opts.zero = true;
+ /* fallthrough */
case 'd':
case 'i':
case 'u':