Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Oct 2012 03:59:17 +0000 (UTC)
From:      Attilio Rao <attilio@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r241522 - head/sbin/mount_fusefs
Message-ID:  <201210140359.q9E3xHJS080263@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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[] = {



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