mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Don't pass null kmdp to preload_search_info
On Xen PVH guests kmdp == NULL. Submitted by: royger MFC after: 3 days Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
b856b87699
commit
b47228854f
1 changed files with 2 additions and 2 deletions
|
|
@ -1958,8 +1958,8 @@ hammer_time(u_int64_t modulep, u_int64_t physfree)
|
|||
* Use vt(4) by default for UEFI boot (during the sc(4)/vt(4)
|
||||
* transition).
|
||||
*/
|
||||
if (preload_search_info(kmdp, MODINFO_METADATA | MODINFOMD_EFI_MAP) !=
|
||||
NULL)
|
||||
if (kmdp != NULL && preload_search_info(kmdp,
|
||||
MODINFO_METADATA | MODINFOMD_EFI_MAP) != NULL)
|
||||
vty_set_preferred(VTY_VT);
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue