Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Nov 2014 10:21:35 +0000 (UTC)
From:      "Alexander V. Chernikov" <melifaro@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r274086 - head/sbin/route
Message-ID:  <201411041021.sA4ALZ4m001202@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: melifaro
Date: Tue Nov  4 10:21:34 2014
New Revision: 274086
URL: https://svnweb.freebsd.org/changeset/base/274086

Log:
  Put "break" after err() to please coverity.
  
  Reported by:	Coverity
  CID:		1250795

Modified:
  head/sbin/route/route.c

Modified: head/sbin/route/route.c
==============================================================================
--- head/sbin/route/route.c	Tue Nov  4 10:18:03 2014	(r274085)
+++ head/sbin/route/route.c	Tue Nov  4 10:21:34 2014	(r274086)
@@ -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;



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