changeset 2676 | 5cee47eddab6 |
parent 2656 | e1caf5c1ce36 |
child 2712 | f74a135872bc |
--- a/usr/src/cmd/zoneadmd/vplat.c Mon Sep 04 19:32:13 2006 -0700 +++ b/usr/src/cmd/zoneadmd/vplat.c Tue Sep 05 11:37:36 2006 -0700 @@ -2605,7 +2605,8 @@ * first because we'll get EPERM if it is already set. */ if (!zfs_prop_get_int(zhp, ZFS_PROP_ZONED) && - zfs_prop_set(zhp, ZFS_PROP_ZONED, "on") != 0) { + zfs_prop_set(zhp, zfs_prop_to_name(ZFS_PROP_ZONED), + "on") != 0) { zerror(zlogp, B_FALSE, "cannot set 'zoned' " "property for ZFS dataset '%s'\n", dstab.zone_dataset_name);