summaryrefslogtreecommitdiff
path: root/test-mock-variables.c
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2025-01-18 11:27:01 -0500
committerPeter Jones <pjones@redhat.com>2025-02-24 15:24:24 -0500
commit3d7c0572c2296f1c31c1f0fb051412ab76828dd2 (patch)
tree912ba1644cd720183d502aeb67abc807e2539a27 /test-mock-variables.c
parente3f0338b53e2926f910aebc420ae2faa13e8b0fd (diff)
downloadefi-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 'test-mock-variables.c')
0 files changed, 0 insertions, 0 deletions