diff options
author | Miklos Szeredi <miklos@szeredi.hu> | 2005-12-16 11:12:16 +0000 |
---|---|---|
committer | Miklos Szeredi <miklos@szeredi.hu> | 2005-12-16 11:12:16 +0000 |
commit | 73f4139eb94ed98d66ec072f3ceb2a7d7f7bad59 (patch) | |
tree | afdf837b0371f04253dd813859266a7df5b1c105 /lib/helper.c | |
parent | 154ffe2c27e84a29eafedc5327f663a313f2721a (diff) |
fix
Diffstat (limited to 'lib/helper.c')
-rw-r--r-- | lib/helper.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/helper.c b/lib/helper.c index d61aaec..1e46476 100644 --- a/lib/helper.c +++ b/lib/helper.c @@ -157,12 +157,11 @@ static const struct fuse_opt fuse_helper_opts[] = { }; static int fuse_helper_opt_proc(void *data, const char *arg, int key, - int *argcp, char **argvp[]) + struct fuse_args *outargs) { struct helper_opts *hopts = data; - (void) argcp; - (void) argvp; + (void) outargs; switch (key) { case KEY_HELP: @@ -207,7 +206,7 @@ static int fuse_parse_cmdline(int argc, const char *argv[], hopts->progname = argv[0]; res = fuse_opt_parse(argc, (char **) argv, hopts, fuse_helper_opts, - fuse_helper_opt_proc, NULL, NULL); + fuse_helper_opt_proc, NULL); if (res == -1) return -1; |