summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2020-03-24 15:04:00 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2020-03-24 15:04:00 +0000
commit11edabba83aca54f0a2a2f1e63bc11f784811032 (patch)
treeb9c1bdaad7d99471fb3a30cc816a645af2190e88 /sys
parenta3e50a1b488c26519c9278fdf6f27ca47bb1534b (diff)
Use FALLTHROUGH in uvm_total() like it is done in uvm_loadav().
CID 1453262.
Diffstat (limited to 'sys')
-rw-r--r--sys/uvm/uvm_meter.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/uvm/uvm_meter.c b/sys/uvm/uvm_meter.c
index 081bd769554..c0a78b3774e 100644
--- a/sys/uvm/uvm_meter.c
+++ b/sys/uvm/uvm_meter.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvm_meter.c,v 1.39 2019/12/05 15:19:33 mpi Exp $ */
+/* $OpenBSD: uvm_meter.c,v 1.40 2020/03/24 15:03:59 mpi Exp $ */
/* $NetBSD: uvm_meter.c,v 1.21 2001/07/14 06:36:03 matt Exp $ */
/*
@@ -272,6 +272,7 @@ uvm_total(struct vmtotal *totalp)
case SONPROC:
if (p == p->p_cpu->ci_schedstate.spc_idleproc)
continue;
+ /* FALLTHROUGH */
case SIDL:
totalp->t_rq++;
if (p->p_stat == SIDL)