diff options
| author | Matthew Garrett <mjg@redhat.com> | 2012-06-25 17:46:11 -0400 |
|---|---|---|
| committer | Matthew Garrett <mjg@redhat.com> | 2012-06-25 17:46:11 -0400 |
| commit | c08d0ceb0510c2f3723e54db2d498a0ca92f7717 (patch) | |
| tree | 376c5fea9eec6f4b18c1faeb028f8ae8df2a2c72 | |
| parent | 1a109376abfc0bdccedab8b2f41740548bfd28df (diff) | |
| download | efi-boot-shim-c08d0ceb0510c2f3723e54db2d498a0ca92f7717.tar.gz efi-boot-shim-c08d0ceb0510c2f3723e54db2d498a0ca92f7717.zip | |
Fix get_variable
| -rw-r--r-- | shim.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -65,7 +65,7 @@ static EFI_STATUS get_variable (CHAR16 *name, EFI_GUID guid, char allocate = !!(*size); efi_status = uefi_call_wrapper(RT->GetVariable, 5, name, &guid, - &attributes, size, NULL); + &attributes, size, buffer); if (efi_status != EFI_BUFFER_TOO_SMALL || !allocate) return efi_status; |
