Fix userboot after r364355

r364355 replaced init_zfs_bootenv with init_zfs_boot_options and
neglected to update userboot in the process.
This commit is contained in:
Matt Macy 2020-08-25 17:23:33 +00:00
parent 5db7b015e9
commit 1ea0b9a5a9

View File

@ -232,7 +232,7 @@ extract_currdev(void)
bzero(&zdev, sizeof(zdev));
zdev.dd.d_dev = &zfs_dev;
init_zfs_bootenv(zfs_fmtdev(&zdev));
init_zfs_boot_options(zfs_fmtdev(&zdev));
dd = &zdev.dd;
} else
#endif