mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-28 03:42:04 +01:00
loader/efi: Small diff reduction
Make doing the boot once protocol more similar to copies of this code. Sponsored by: Netflix Reviewed by: manu Differential Revision: https://reviews.freebsd.org/D44007
This commit is contained in:
parent
525e6d6c89
commit
2425dbdff3
@ -261,8 +261,9 @@ probe_zfs_currdev(uint64_t guid)
|
||||
currdev.dd.d_unit = 0;
|
||||
currdev.pool_guid = guid;
|
||||
currdev.root_guid = 0;
|
||||
set_currdev_devdesc((struct devdesc *)&currdev);
|
||||
devname = devformat(&currdev.dd);
|
||||
set_currdev(devname);
|
||||
printf("Setting currdev to %s\n", devname);
|
||||
init_zfs_boot_options(devname);
|
||||
|
||||
if (zfs_get_bootonce(&currdev, OS_BOOTONCE, buf, sizeof(buf)) == 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user