summaryrefslogtreecommitdiffstats
path: root/cmd/zfs/zfs_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/zfs/zfs_main.c')
-rw-r--r--cmd/zfs/zfs_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/zfs/zfs_main.c b/cmd/zfs/zfs_main.c
index 86f0d5c39..f21c36b81 100644
--- a/cmd/zfs/zfs_main.c
+++ b/cmd/zfs/zfs_main.c
@@ -3902,7 +3902,7 @@ parse_option(char *mntopt, unsigned long *mntflags, int sloppy)
{
const option_map_t *opt;
char *ptr, *name, *value = NULL;
- int rc;
+ int rc = 0;
name = strdup(mntopt);
if (name == NULL)