aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander V. Chernikov <melifaro@FreeBSD.org>2014-11-04 10:21:34 +0000
committerAlexander V. Chernikov <melifaro@FreeBSD.org>2014-11-04 10:21:34 +0000
commitc8dce4fe5af016e106f38ccd388bbda4fd1f58b4 (patch)
treef543e7f8192c3b31ccbd95cc37d7e20fb4c8e4f1
parent2d6f6d63733d8f27eb1f4ea7ca23dc86532f6bf2 (diff)
downloadsrc-c8dce4fe5af016e106f38ccd388bbda4fd1f58b4.tar.gz
src-c8dce4fe5af016e106f38ccd388bbda4fd1f58b4.zip
Put "break" after err() to please coverity.
Reported by: Coverity CID: 1250795
Notes
Notes: svn path=/head/; revision=274086
-rw-r--r--sbin/route/route.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sbin/route/route.c b/sbin/route/route.c
index 21d92b5d68bc..604057d147d7 100644
--- a/sbin/route/route.c
+++ b/sbin/route/route.c
@@ -1536,6 +1536,7 @@ rtmsg(int cmd, int flags, int fib)
switch (errno) {
case EPERM:
err(1, "writing to routing socket");
+ break;
case ESRCH:
warnx("route has not been found");
break;