From f327bafb9bbdf8e0564b2adac626940b56c5d6c8 Mon Sep 17 00:00:00 2001 From: attilio Date: Sun, 14 Oct 2012 03:59:17 +0000 Subject: getopt_long() returns an int. Use the return value accordingly. Pointy hat to: me MFC after: 2 months X-MFC: r241519,241521 --- sbin/mount_fusefs/mount_fusefs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sbin/mount_fusefs') 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[] = { -- cgit v1.1