aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGravatar Nikolaus Rath <Nikolaus@rath.org>2017-08-22 13:50:14 +0200
committerGravatar Nikolaus Rath <Nikolaus@rath.org>2017-08-22 13:59:17 +0200
commite71bb4855732ae40310b58deded646b416de46cc (patch)
tree96541071ac42d5c8410e75ff997072b6362f3b0e /lib
parent1a73904e687b588bf669fa702d823b092ab9eb0c (diff)
Fix two compiler warnings.
Diffstat (limited to 'lib')
-rw-r--r--lib/helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/helper.c b/lib/helper.c
index 9d26c14..564a433 100644
--- a/lib/helper.c
+++ b/lib/helper.c
@@ -284,7 +284,7 @@ int fuse_main_real(int argc, char *argv[], const struct fuse_operations *op,
}
if (opts.show_help) {
- if(args.argv[0] != '\0')
+ if(args.argv[0][0] != '\0')
printf("usage: %s [options] <mountpoint>\n\n",
args.argv[0]);
printf("FUSE options:\n");