diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/fuse.c | 1 | ||||
-rw-r--r-- | lib/helper.c | 6 |
2 files changed, 4 insertions, 3 deletions
@@ -1233,6 +1233,7 @@ static void do_write(struct fuse *f, struct fuse_in_header *in, memset(&fi, 0, sizeof(fi)); fi.fh = arg->fh; + fi.writepage = arg->writepage; res = -ENOENT; path = get_path(f, in->nodeid); diff --git a/lib/helper.c b/lib/helper.c index fc17973..5f7f1f5 100644 --- a/lib/helper.c +++ b/lib/helper.c @@ -47,7 +47,7 @@ static void usage(const char *progname) static void invalid_option(const char *argv[], int argctr) { fprintf(stderr, "fuse: invalid option: %s\n\n", argv[argctr]); - fprintf(stderr, "see '%s -h' for usage\n", argv[0]); + fprintf(stderr, "see `%s -h' for usage\n", argv[0]); } static void exit_handler() @@ -174,7 +174,7 @@ static int fuse_parse_cmdline(int argc, const char *argv[], char **kernel_opts, case 'o': if (argctr + 1 == argc || argv[argctr+1][0] == '-') { fprintf(stderr, "missing option after -o\n"); - fprintf(stderr, "see '%s -h' for usage\n", argv[0]); + fprintf(stderr, "see `%s -h' for usage\n", argv[0]); goto err; } argctr ++; @@ -240,7 +240,7 @@ static int fuse_parse_cmdline(int argc, const char *argv[], char **kernel_opts, if (*mountpoint == NULL) { fprintf(stderr, "missing mountpoint\n"); - fprintf(stderr, "see '%s -h' for usage\n", argv[0]); + fprintf(stderr, "see `%s -h' for usage\n", argv[0]); goto err; } return 0; |