Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 May 2009 17:05:40 +0000 (UTC)
From:      Edward Tomasz Napierala <trasz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r192022 - head/sys/kern
Message-ID:  <200905121705.n4CH5eCY028137@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: trasz
Date: Tue May 12 17:05:40 2009
New Revision: 192022
URL: http://svn.freebsd.org/changeset/base/192022

Log:
  Add missing 'break' statement.
  
  Found with:	Coverity Prevent(tm)
  CID:		3919

Modified:
  head/sys/kern/kern_lock.c

Modified: head/sys/kern/kern_lock.c
==============================================================================
--- head/sys/kern/kern_lock.c	Tue May 12 16:59:50 2009	(r192021)
+++ head/sys/kern/kern_lock.c	Tue May 12 17:05:40 2009	(r192022)
@@ -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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905121705.n4CH5eCY028137>