boot: Drop use of LibLocateHandle

This commit is contained in:
Jan Janssen
2022-06-09 12:50:13 +02:00
parent b04f818417
commit b05d69ed72
+2 -2
View File
@@ -1941,8 +1941,8 @@ static void config_entry_add_osx(Config *config) {
if (!config->auto_entries)
return;
err = LibLocateHandle(ByProtocol, &FileSystemProtocol, NULL, &n_handles, &handles);
if (EFI_ERROR(err))
err = BS->LocateHandleBuffer(ByProtocol, &FileSystemProtocol, NULL, &n_handles, &handles);
if (err != EFI_SUCCESS)
return;
for (UINTN i = 0; i < n_handles; i++) {