bug: efi_print_global only checks for the first 5 letters of "Driver"
As a result, it is only really checking for the word Drive, making "Drive" appended to anything else considered for efi env. Reviewed by: imp, kevans Pull Request: https://github.com/freebsd/freebsd-src/pull/738
This commit is contained in:
parent
e6f37dce96
commit
39ae24e3bf
@ -537,7 +537,7 @@ efi_print_global(const CHAR16 *varnamearg, uint8_t *data, UINTN datasz)
|
||||
goto done;
|
||||
}
|
||||
if (strncmp("Boot", var, 4) == 0 ||
|
||||
strncmp("Driver", var, 5) == 0 ||
|
||||
strncmp("Driver", var, 6) == 0 ||
|
||||
strncmp("SysPrep", var, 7) == 0 ||
|
||||
strncmp("OsRecovery", var, 10) == 0) {
|
||||
UINT16 filepathlistlen;
|
||||
|
Loading…
Reference in New Issue
Block a user