diff mbox

[04/12] mount: don't make -s (sloppy) imply -v (verbose)

Message ID 20111213225131.15402.31180.stgit@degas.1015granger.net
State Accepted
Headers show

Commit Message

Chuck Lever Dec. 13, 2011, 10:51 p.m. UTC
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 mbox

Patch

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[])
 			break;
 		case 's':
 			sloppy = true;
+			break;
 		case 'v':
 			++verbose;
 			break;