From e5023dd9f6ec341342e8ad7ce75c8caf600af630 Mon Sep 17 00:00:00 2001 From: Edward Tomasz Napierala Date: Tue, 12 May 2009 17:05:40 +0000 Subject: [PATCH] Add missing 'break' statement. Found with: Coverity Prevent(tm) CID: 3919 --- sys/kern/kern_lock.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/kern/kern_lock.c b/sys/kern/kern_lock.c index f19e249a6c2c..f4e5ea9903e2 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;