diff options
author | attilio <attilio@FreeBSD.org> | 2012-10-14 03:59:17 +0000 |
---|---|---|
committer | attilio <attilio@FreeBSD.org> | 2012-10-14 03:59:17 +0000 |
commit | f327bafb9bbdf8e0564b2adac626940b56c5d6c8 (patch) | |
tree | bd077d5c52c9454162a2873c4fa3594b2a9f28e6 | |
parent | 95ca52bfbf79a52425f9a9d41a431b16a05faaf1 (diff) | |
download | FreeBSD-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
-rw-r--r-- | sbin/mount_fusefs/mount_fusefs.c | 2 |
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[] = { |