From owner-svn-src-head@FreeBSD.ORG Sun Oct 14 03:59:17 2012 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C08AAEDE; Sun, 14 Oct 2012 03:59:17 +0000 (UTC) (envelope-from attilio@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id A7A7F8FC0A; Sun, 14 Oct 2012 03:59:17 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q9E3xHOC080265; Sun, 14 Oct 2012 03:59:17 GMT (envelope-from attilio@svn.freebsd.org) Received: (from attilio@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q9E3xHJS080263; Sun, 14 Oct 2012 03:59:17 GMT (envelope-from attilio@svn.freebsd.org) Message-Id: <201210140359.q9E3xHJS080263@svn.freebsd.org> From: Attilio Rao Date: Sun, 14 Oct 2012 03:59:17 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r241522 - head/sbin/mount_fusefs X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Oct 2012 03:59:17 -0000 Author: attilio Date: Sun Oct 14 03:59:17 2012 New Revision: 241522 URL: http://svn.freebsd.org/changeset/base/241522 Log: getopt_long() returns an int. Use the return value accordingly. Pointy hat to: me MFC after: 2 months X-MFC: r241519,241521 Modified: head/sbin/mount_fusefs/mount_fusefs.c Modified: head/sbin/mount_fusefs/mount_fusefs.c ============================================================================== --- head/sbin/mount_fusefs/mount_fusefs.c Sun Oct 14 03:51:59 2012 (r241521) +++ head/sbin/mount_fusefs/mount_fusefs.c Sun Oct 14 03:59:17 2012 (r241522) @@ -107,7 +107,6 @@ int main(int argc, char *argv[]) { struct iovec *iov; - char ch = '\0'; int mntflags, iovlen, verbose = 0; char *dev = NULL, *dir = NULL, mntpath[MAXPATHLEN]; char *devo = NULL, *diro = NULL; @@ -115,6 +114,7 @@ main(int argc, char *argv[]) int i, done = 0, reject_allow_other = 0, safe_level = 0; int altflags = DEFAULT_MOUNT_FLAGS; int __altflags = DEFAULT_MOUNT_FLAGS; + int ch = 0; struct mntopt *mo; struct mntval *mv; static struct option longopts[] = {