From patchwork Thu Dec 1 12:27:15 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jim Meyering X-Patchwork-Id: 128689 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from rcsinet15.oracle.com (rcsinet15.oracle.com [148.87.113.117]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "rcsinet15.oracle.com", Issuer "VeriSign Class 3 International Server CA - G3" (verified OK)) by ozlabs.org (Postfix) with ESMTPS id 3AA86B6F76 for ; Thu, 1 Dec 2011 23:27:39 +1100 (EST) Received: from ucsinet22.oracle.com (ucsinet22.oracle.com [156.151.31.94]) by rcsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id pB1CRXRL001677 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 1 Dec 2011 12:27:34 GMT Received: from oss.oracle.com (oss.oracle.com [141.146.12.120]) by ucsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id pB1CRXNL000404 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 1 Dec 2011 12:27:33 GMT Received: from localhost ([127.0.0.1] helo=oss.oracle.com) by oss.oracle.com with esmtp (Exim 4.63) (envelope-from ) id 1RW5jb-0004rq-T4; Thu, 01 Dec 2011 04:27:27 -0800 Received: from acsinet11.oracle.com ([141.146.126.233]) by oss.oracle.com with esmtp (Exim 4.63) (envelope-from ) id 1RW5ja-0004r7-3m for fedfs-utils-devel@oss.oracle.com; Thu, 01 Dec 2011 04:27:26 -0800 Received: from mx.meyering.net (mx.meyering.net [88.168.87.75]) by acsinet11.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id pB1CROJE009873 for ; Thu, 1 Dec 2011 12:27:25 GMT Received: by rho.meyering.net (Acme Bit-Twister, from userid 1000) id D221360198; Thu, 1 Dec 2011 13:27:23 +0100 (CET) From: Jim Meyering To: fedfs-utils-devel@oss.oracle.com Date: Thu, 1 Dec 2011 13:27:15 +0100 Message-Id: <1322742439-2171-5-git-send-email-jim@meyering.net> X-Mailer: git-send-email 1.7.7.3 In-Reply-To: <1322742439-2171-1-git-send-email-jim@meyering.net> References: <1322742439-2171-1-git-send-email-jim@meyering.net> X-Flow-Control-Info: class=Default ip=88.168.87.75 ct-class=T1 ct-vol1=0 ct-vol2=0 ct-vol3=1 ct-risk=49 ct-spam1=0 ct-spam2=0 ct-bulk=0 rcpts=1 size=650 Subject: [fedfs-utils] [PATCH v2 4/8] mount: don't make -s (sloppy) imply -v (verbose) X-BeenThere: fedfs-utils-devel@oss.oracle.com X-Mailman-Version: 2.1.9 Precedence: list Reply-To: fedfs-utils Developers List-Id: fedfs-utils Developers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: fedfs-utils-devel-bounces@oss.oracle.com Errors-To: fedfs-utils-devel-bounces@oss.oracle.com X-Source-IP: ucsinet22.oracle.com [156.151.31.94] X-CT-RefId: str=0001.0A090201.4ED772B6.010E:SCFSTAT3865452, ss=1, re=-4.000, fgs=0 From: Jim Meyering * 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 --- 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[]) break; case 's': sloppy = true; + break; case 'v': ++verbose; break;