git://git.camperquake.de
/
zfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix gcc compiler warning, parse_option()
[zfs.git]
/
cmd
/
mount_zfs
/
mount_zfs.c
diff --git
a/cmd/mount_zfs/mount_zfs.c
b/cmd/mount_zfs/mount_zfs.c
index
aff9e10
..
c38ba51
100644
(file)
--- a/
cmd/mount_zfs/mount_zfs.c
+++ b/
cmd/mount_zfs/mount_zfs.c
@@
-120,6
+120,7
@@
parse_option(char *mntopt, unsigned long *mntflags,
if (*ptr == '=') {
*ptr = '\0';
value = ptr+1;
if (*ptr == '=') {
*ptr = '\0';
value = ptr+1;
+ VERIFY3P(value, !=, NULL);
break;
}
}
break;
}
}