diff options
-rw-r--r-- | example/cuse.c | 2 | ||||
-rw-r--r-- | lib/helper.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/example/cuse.c b/example/cuse.c index da17b0d..b5ac122 100644 --- a/example/cuse.c +++ b/example/cuse.c @@ -233,7 +233,7 @@ static void cusexmp_ioctl(fuse_req_t req, int cmd, void *arg, case FIOC_READ: is_read = 1; - /* no break */ + /* fall through */ case FIOC_WRITE: fioc_do_rw(req, arg, in_buf, in_bufsz, out_bufsz, is_read); break; 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"); |