aboutsummaryrefslogtreecommitdiffstats
path: root/lib/fuse.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/fuse.c')
-rw-r--r--lib/fuse.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/fuse.c b/lib/fuse.c
index 3b64bc4..35dc227 100644
--- a/lib/fuse.c
+++ b/lib/fuse.c
@@ -1808,12 +1808,11 @@ void fuse_set_getcontext_func(struct fuse_context *(*func)(void))
}
static int fuse_lib_opt_proc(void *data, const char *arg, int key,
- int *argcp, char **argvp[])
+ struct fuse_args *outargs)
{
struct fuse_config *conf = data;
(void) key;
- (void) argcp;
- (void) argvp;
+ (void) outargs;
return fuse_opt_add_opt(&conf->llopts, arg);
}
@@ -1871,7 +1870,7 @@ struct fuse *fuse_new_common(int fd, const char *opts,
if (opts) {
const char *argv[] = { "", "-o", opts, NULL };
if (fuse_opt_parse(3, (char **) argv, &f->conf,
- fuse_lib_opts, fuse_lib_opt_proc, NULL, NULL) == -1)
+ fuse_lib_opts, fuse_lib_opt_proc, NULL) == -1)
goto out_free;
}