summaryrefslogtreecommitdiffstats
path: root/sbin/mount_fusefs
diff options
context:
space:
mode:
authorattilio <attilio@FreeBSD.org>2012-10-14 03:59:17 +0000
committerattilio <attilio@FreeBSD.org>2012-10-14 03:59:17 +0000
commitf327bafb9bbdf8e0564b2adac626940b56c5d6c8 (patch)
treebd077d5c52c9454162a2873c4fa3594b2a9f28e6 /sbin/mount_fusefs
parent95ca52bfbf79a52425f9a9d41a431b16a05faaf1 (diff)
downloadFreeBSD-src-f327bafb9bbdf8e0564b2adac626940b56c5d6c8.zip
FreeBSD-src-f327bafb9bbdf8e0564b2adac626940b56c5d6c8.tar.gz
getopt_long() returns an int. Use the return value accordingly.
Pointy hat to: me MFC after: 2 months X-MFC: r241519,241521
Diffstat (limited to 'sbin/mount_fusefs')
-rw-r--r--sbin/mount_fusefs/mount_fusefs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/mount_fusefs/mount_fusefs.c b/sbin/mount_fusefs/mount_fusefs.c
index 71a022a..2dff27b 100644
--- a/sbin/mount_fusefs/mount_fusefs.c
+++ b/sbin/mount_fusefs/mount_fusefs.c
@@ -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[] = {
OpenPOWER on IntegriCloud