Use 0, not NULL, for zero integer constant.
This commit is contained in:
parent
f7e5f84747
commit
0126bcdf7e
2
external/cddl/osnet/dist/cmd/zfs/zfs_main.c
vendored
2
external/cddl/osnet/dist/cmd/zfs/zfs_main.c
vendored
@ -2494,7 +2494,7 @@ zfs_do_set(int argc, char **argv)
|
||||
usage(B_FALSE);
|
||||
}
|
||||
|
||||
ret = zfs_for_each(argc - 2, argv + 2, NULL,
|
||||
ret = zfs_for_each(argc - 2, argv + 2, 0,
|
||||
ZFS_TYPE_DATASET, NULL, NULL, 0, set_callback, &cb);
|
||||
|
||||
return (ret);
|
||||
|
Loading…
Reference in New Issue
Block a user