diff options
| author | Peter Jones <pjones@redhat.com> | 2025-01-18 11:27:01 -0500 |
|---|---|---|
| committer | Peter Jones <pjones@redhat.com> | 2025-02-24 15:24:24 -0500 |
| commit | 3d7c0572c2296f1c31c1f0fb051412ab76828dd2 (patch) | |
| tree | 912ba1644cd720183d502aeb67abc807e2539a27 /lib/variables.c | |
| parent | e3f0338b53e2926f910aebc420ae2faa13e8b0fd (diff) | |
| download | efi-boot-shim-3d7c0572c2296f1c31c1f0fb051412ab76828dd2.tar.gz efi-boot-shim-3d7c0572c2296f1c31c1f0fb051412ab76828dd2.zip | |
get_mem_attrs(): ensure an error code is set on failure
This changes get_mem_attrs() to return EFI_UNSUPPORTED if
LibLocateProtocol() does not return an error but does give us a NULL
pointer.
Signed-off-by: Peter Jones <pjones@redhat.com>
Diffstat (limited to 'lib/variables.c')
0 files changed, 0 insertions, 0 deletions
