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 | f23d76972708dff20d612d90b941f75fc907e4b1 (patch) | |
| tree | 376c5fea9eec6f4b18c1faeb028f8ae8df2a2c72 /shim.c | |
| parent | c16548d08b3b1fb645cc794a3f433fc00767d6cc (diff) | |
| download | efi-boot-shim-f23d76972708dff20d612d90b941f75fc907e4b1.tar.gz efi-boot-shim-f23d76972708dff20d612d90b941f75fc907e4b1.zip | |
Fix get_variable
Diffstat (limited to 'shim.c')
| -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; |
