summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/libfuse/fuse_opt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libfuse/fuse_opt.c b/lib/libfuse/fuse_opt.c
index 5e2a45f6238..289288fe30d 100644
--- a/lib/libfuse/fuse_opt.c
+++ b/lib/libfuse/fuse_opt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fuse_opt.c,v 1.6 2013/11/02 09:00:49 syl Exp $ */
+/* $OpenBSD: fuse_opt.c,v 1.7 2013/11/04 19:54:18 syl Exp $ */
/*
* Copyright (c) 2013 Sylvestre Gallon <ccna.syl@gmail.com>
* Copyright (c) 2013 Stefan Sperling <stsp@openbsd.org>
@@ -314,7 +314,7 @@ fuse_opt_insert_arg(struct fuse_args *args, int p, const char *name)
char *this_arg, *next_arg;
int i;
- if (name == NULL || name[0] == '\0')
+ if (name == NULL)
return (-1);
if (!args->allocated && alloc_argv(args))