From 73f4139eb94ed98d66ec072f3ceb2a7d7f7bad59 Mon Sep 17 00:00:00 2001 From: Miklos Szeredi Date: Fri, 16 Dec 2005 11:12:16 +0000 Subject: fix --- lib/fuse.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'lib/fuse.c') 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; } -- cgit v1.2.3