diff --git a/cmd/zfs/zfs_main.c b/cmd/zfs/zfs_main.c index 4b0a7cccd3..e3391cf7c6 100644 --- a/cmd/zfs/zfs_main.c +++ b/cmd/zfs/zfs_main.c @@ -2241,7 +2241,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, set_callback, &cb); return (ret);