16 lines
577 B
Diff
16 lines
577 B
Diff
--- lib/fuse.c-dist 2007-01-18 16:32:18.000000000 +0100
|
|
+++ lib/fuse.c 2007-01-18 16:36:27.000000000 +0100
|
|
@@ -2948,9 +2948,10 @@ static struct fuse *fuse_new_common_comp
|
|
struct fuse *f;
|
|
struct fuse_args args = FUSE_ARGS_INIT(0, NULL);
|
|
|
|
+ if (fuse_opt_add_arg(&args, "") == -1)
|
|
+ return NULL;
|
|
if (opts &&
|
|
- (fuse_opt_add_arg(&args, "") == -1 ||
|
|
- fuse_opt_add_arg(&args, "-o") == -1 ||
|
|
+ (fuse_opt_add_arg(&args, "-o") == -1 ||
|
|
fuse_opt_add_arg(&args, opts) == -1)) {
|
|
fuse_opt_free_args(&args);
|
|
return NULL;
|