summaryrefslogtreecommitdiff
path: root/lib/variables.c
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2019-11-18 13:58:46 -0500
committerPeter Jones <pjones@redhat.com>2020-07-23 20:53:24 -0400
commit959f5e4e993a82020fef48c7e7c012a44074645c (patch)
treee79fc1afcf781431e1a0790867be1df91497792c /lib/variables.c
parent5e6e0792cedb3b71cbe061ae56e96906cf710579 (diff)
downloadefi-boot-shim-959f5e4e993a82020fef48c7e7c012a44074645c.tar.gz
efi-boot-shim-959f5e4e993a82020fef48c7e7c012a44074645c.zip
Actually check for errors from set_second_stage()
This changes shim_init() to check for errors from set_second_stage(). In order to make that work, it also does the following: - correctly /always/ allocate second_stage, not sometimes allocate and sometimes point at .data - test for LoadOptionSize == 0 and return success - print an error message for the failure so we can see it. Signed-off-by: Peter Jones <pjones@redhat.com> Upstream-commit-id: 354bd9b1931
Diffstat (limited to 'lib/variables.c')
0 files changed, 0 insertions, 0 deletions