aboutsummaryrefslogtreecommitdiffstats
path: root/lib/fuse_lowlevel.c
diff options
context:
space:
mode:
authorMiklos Szeredi <miklos@szeredi.hu>2005-12-16 11:12:16 +0000
committerMiklos Szeredi <miklos@szeredi.hu>2005-12-16 11:12:16 +0000
commit73f4139eb94ed98d66ec072f3ceb2a7d7f7bad59 (patch)
treeafdf837b0371f04253dd813859266a7df5b1c105 /lib/fuse_lowlevel.c
parent154ffe2c27e84a29eafedc5327f663a313f2721a (diff)
downloadlibfuse-73f4139eb94ed98d66ec072f3ceb2a7d7f7bad59.tar.gz
fix
Diffstat (limited to 'lib/fuse_lowlevel.c')
-rw-r--r--lib/fuse_lowlevel.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/fuse_lowlevel.c b/lib/fuse_lowlevel.c
index 3e45a59..6913d63 100644
--- a/lib/fuse_lowlevel.c
+++ b/lib/fuse_lowlevel.c
@@ -900,12 +900,11 @@ static struct fuse_opt fuse_ll_opts[] = {
};
static int fuse_ll_opt_proc(void *data, const char *arg, int key,
- int *argcp, char **argvp[])
+ struct fuse_args *outargs)
{
(void) data;
(void) key;
- (void) argcp;
- (void) argvp;
+ (void) outargs;
fprintf(stderr, "fuse: unknown option `%s'\n", arg);
return -1;
}
@@ -950,7 +949,7 @@ struct fuse_session *fuse_lowlevel_new(const char *opts,
if (opts) {
const char *argv[] = { "", "-o", opts, NULL };
if (fuse_opt_parse(3, (char **) argv, f, fuse_ll_opts,
- fuse_ll_opt_proc, NULL, NULL) == -1)
+ fuse_ll_opt_proc, NULL) == -1)
goto out_free;
}