summaryrefslogtreecommitdiffstats
path: root/src/boot/efi/splash.c
diff options
context:
space:
mode:
authorJan Janssen <medhefgo@web.de>2022-05-26 10:59:53 +0200
committerJan Janssen <medhefgo@web.de>2022-06-09 12:50:13 +0200
commit6a261332bc266e4b52e393dfacfdbb6383bc2bf3 (patch)
treeb399c144a795e0c28f06987d9166fa1c7e2bd631 /src/boot/efi/splash.c
parentboot: Drop use of LibOpenRoot (diff)
downloadsystemd-6a261332bc266e4b52e393dfacfdbb6383bc2bf3.tar.xz
systemd-6a261332bc266e4b52e393dfacfdbb6383bc2bf3.zip
boot: Drop use of LibLocateProtocol
Diffstat (limited to 'src/boot/efi/splash.c')
-rw-r--r--src/boot/efi/splash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/boot/efi/splash.c b/src/boot/efi/splash.c
index e0d075c911..2fd2db6ba0 100644
--- a/src/boot/efi/splash.c
+++ b/src/boot/efi/splash.c
@@ -279,7 +279,7 @@ EFI_STATUS graphics_splash(const UINT8 *content, UINTN len, const EFI_GRAPHICS_O
background = &pixel;
}
- err = LibLocateProtocol(&GraphicsOutputProtocol, (void **)&GraphicsOutput);
+ err = BS->LocateProtocol(&GraphicsOutputProtocol, NULL, (void **) &GraphicsOutput);
if (EFI_ERROR(err))
return err;