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[] = {
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to