Fix cast
This commit is contained in:
parent
5a7a00f67c
commit
ca4fc6ef63
|
@ -2189,7 +2189,7 @@ zfs_ioc_snapshot(zfs_cmd_t *zc)
|
|||
if (snapshot_namecheck(zc->zc_value, NULL, NULL) != 0)
|
||||
return (EINVAL);
|
||||
|
||||
if (zc->zc_nvlist_src != NULL &&
|
||||
if (zc->zc_nvlist_src != 0 &&
|
||||
(error = get_nvlist(zc->zc_nvlist_src, zc->zc_nvlist_src_size,
|
||||
&nvprops)) != 0)
|
||||
return (error);
|
||||
|
|
Loading…
Reference in New Issue