summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_lock.c
diff options
context:
space:
mode:
authortrasz <trasz@FreeBSD.org>2009-05-12 17:05:40 +0000
committertrasz <trasz@FreeBSD.org>2009-05-12 17:05:40 +0000
commite6d7976851e63c320f158cf13fc56f748d03669a (patch)
tree8a29370f79c1c93168d6095655110ea2634ed51a /sys/kern/kern_lock.c
parent953ec5bcb56f0163851ef447ed73429bc22672db (diff)
downloadFreeBSD-src-e6d7976851e63c320f158cf13fc56f748d03669a.zip
FreeBSD-src-e6d7976851e63c320f158cf13fc56f748d03669a.tar.gz
Add missing 'break' statement.
Found with: Coverity Prevent(tm) CID: 3919
Diffstat (limited to 'sys/kern/kern_lock.c')
-rw-r--r--sys/kern/kern_lock.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/kern/kern_lock.c b/sys/kern/kern_lock.c
index f19e249..f4e5ea9 100644
--- a/sys/kern/kern_lock.c
+++ b/sys/kern/kern_lock.c
@@ -1067,6 +1067,7 @@ db_show_lockmgr(struct lock_object *lock)
switch (lk->lk_lock & LK_ALL_WAITERS) {
case LK_SHARED_WAITERS:
db_printf("shared\n");
+ break;
case LK_EXCLUSIVE_WAITERS:
db_printf("exclusive\n");
break;
OpenPOWER on IntegriCloud