[v2,4/8] mount: don't make -s (sloppy) imply -v (verbose)

Message ID 1322742439-2171-5-git-send-email-jim@meyering.net
State Superseded
Headers show

Commit Message

Jim Meyering Dec. 1, 2011, 12:27 p.m.
From: Jim Meyering <meyering@redhat.com>

* src/mount/main.c (main): Add a break; stmt between case 's': and
case 'v':.  Spotted by coverity.
Bug introduced with the initial commit of this file: 0520ee72.

Signed-off-by: Jim Meyering <meyering@redhat.com>
 src/mount/main.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)


diff --git a/src/mount/main.c b/src/mount/main.c
index b49d152..1efde77 100644
--- a/src/mount/main.c
+++ b/src/mount/main.c
@@ -483,6 +483,7 @@  int main(int argc, char *argv[])
 		case 's':
 			sloppy = true;
+			break;
 		case 'v':