aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMiklos Szeredi <miklos@szeredi.hu>2004-12-07 10:04:24 +0000
committerMiklos Szeredi <miklos@szeredi.hu>2004-12-07 10:04:24 +0000
commitd59bb9d2896476252a4daa8e6dd8ed1125bf5f45 (patch)
treeab6fa9ea14e429b41fc19638495feb30a6bd1440 /lib
parent6498819f7c2c86df07efa02e27c1bc1c8ce0076a (diff)
downloadlibfuse-d59bb9d2896476252a4daa8e6dd8ed1125bf5f45.tar.gz
ducumentation fixes in fuse.h
Diffstat (limited to 'lib')
-rw-r--r--lib/fuse.c1
-rw-r--r--lib/helper.c6
2 files changed, 4 insertions, 3 deletions
diff --git a/lib/fuse.c b/lib/fuse.c
index afc8c74..d61c6c8 100644
--- a/lib/fuse.c
+++ b/lib/fuse.c
@@ -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;