diff options
author | Jan Janssen <medhefgo@web.de> | 2022-05-29 10:38:19 +0200 |
---|---|---|
committer | Jan Janssen <medhefgo@web.de> | 2022-06-09 12:50:13 +0200 |
commit | b05d69ed720590d01e7886b3ac2f6ff0cbfaa921 (patch) | |
tree | 12adab55641a9cde3699f3a818393025af201b9e /src/boot | |
parent | boot: Drop use of UnpackDevicePath (diff) | |
download | systemd-b05d69ed720590d01e7886b3ac2f6ff0cbfaa921.tar.xz systemd-b05d69ed720590d01e7886b3ac2f6ff0cbfaa921.zip |
boot: Drop use of LibLocateHandle
Diffstat (limited to '')
-rw-r--r-- | src/boot/efi/boot.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/boot/efi/boot.c b/src/boot/efi/boot.c index 5287eabd6c..3833ae9461 100644 --- a/src/boot/efi/boot.c +++ b/src/boot/efi/boot.c @@ -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++) { |