aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMarius Strobl <marius@FreeBSD.org>2021-01-21 23:16:37 +0000
committerMarius Strobl <marius@FreeBSD.org>2021-01-21 23:18:40 +0000
commit679e4cdabdc5a93e5c0d7cdf3fc52202a8de02ef (patch)
tree512a65650941d10fb379f889658773d033f33ec0 /sys
parent3b433ed76500f1dde444bed736f9f36695cb93a0 (diff)
downloadsrc-679e4cdabdc5a93e5c0d7cdf3fc52202a8de02ef.tar.gz
src-679e4cdabdc5a93e5c0d7cdf3fc52202a8de02ef.zip
kvprintf(9): add missing FALLTHROUGH
Reported by: Coverity CID: 1005166
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/subr_prf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/kern/subr_prf.c b/sys/kern/subr_prf.c
index b51213a25d0d..bbe95653919f 100644
--- a/sys/kern/subr_prf.c
+++ b/sys/kern/subr_prf.c
@@ -848,6 +848,7 @@ reswitch: switch (ch = (u_char)*fmt++) {
goto handle_nosign;
case 'X':
upper = 1;
+ /* FALLTHROUGH */
case 'x':
base = 16;
goto handle_nosign;