diff options
| author | Peter Jones <pjones@redhat.com> | 2021-07-23 14:28:59 -0400 |
|---|---|---|
| committer | Peter Jones <pjones@redhat.com> | 2021-09-07 17:05:04 -0400 |
| commit | 6ea93a28759d754778e483f86f95587a01c5fee8 (patch) | |
| tree | 80d24240d34e57863c9142b2bc5ab5006e9b060b /lib/shell.c | |
| parent | 116a8310ab93d803fa51f9ba9f3d6d0cb691e2bf (diff) | |
| download | efi-boot-shim-6ea93a28759d754778e483f86f95587a01c5fee8.tar.gz efi-boot-shim-6ea93a28759d754778e483f86f95587a01c5fee8.zip | |
cleanup: always use BS and RT, not gBS and gRT
This just makes one less thing we have to make sure is the same between
the test harnesses and the runtime code.
Signed-off-by: Peter Jones <pjones@redhat.com>
Diffstat (limited to 'lib/shell.c')
| -rw-r--r-- | lib/shell.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/shell.c b/lib/shell.c index 146d9a21..8be4fe08 100644 --- a/lib/shell.c +++ b/lib/shell.c @@ -16,7 +16,7 @@ argsplit(EFI_HANDLE image, int *argc, CHAR16*** ARGV) *argc = 0; - efi_status = gBS->HandleProtocol(image, &LoadedImageProtocol, + efi_status = BS->HandleProtocol(image, &LoadedImageProtocol, (VOID **) &info); if (EFI_ERROR(efi_status)) { console_print(L"Failed to get arguments\n"); |
