Fix gcc compiler warning, parse_option()
[zfs.git] / cmd / mount_zfs / mount_zfs.c
index aff9e10..c38ba51 100644 (file)
@@ -120,6 +120,7 @@ parse_option(char *mntopt, unsigned long *mntflags,
                if (*ptr == '=') {
                        *ptr = '\0';
                        value = ptr+1;
+                       VERIFY3P(value, !=, NULL);
                        break;
                }
        }