summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pmcstat/pmcstat_log.c
diff options
context:
space:
mode:
authorfabient <fabient@FreeBSD.org>2010-06-05 22:57:53 +0000
committerfabient <fabient@FreeBSD.org>2010-06-05 22:57:53 +0000
commit0ecf60c0b77f328d007521e54b05d0c3c183a117 (patch)
treede75faa05fc877292b9775274ef012019b77ebe7 /usr.sbin/pmcstat/pmcstat_log.c
parent28122090a3c8d73d47366b9bce6059f02763a23b (diff)
downloadFreeBSD-src-0ecf60c0b77f328d007521e54b05d0c3c183a117.zip
FreeBSD-src-0ecf60c0b77f328d007521e54b05d0c3c183a117.tar.gz
Fix warnings found by Coverity.
Found with: Coverity Prevent(tm) MFC after: 1 month
Diffstat (limited to 'usr.sbin/pmcstat/pmcstat_log.c')
-rw-r--r--usr.sbin/pmcstat/pmcstat_log.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/pmcstat/pmcstat_log.c b/usr.sbin/pmcstat/pmcstat_log.c
index 3458bd3..a265cb9 100644
--- a/usr.sbin/pmcstat/pmcstat_log.c
+++ b/usr.sbin/pmcstat/pmcstat_log.c
@@ -1957,6 +1957,7 @@ pmcstat_keypress_log(void)
case 'q':
wprintw(w, "exiting...");
ret = 1;
+ break;
default:
if (plugins[args.pa_plugin].pl_topkeypress != NULL)
if (plugins[args.pa_plugin].pl_topkeypress(c, w))
OpenPOWER on IntegriCloud