aboutsummaryrefslogtreecommitdiff
path: root/src/interface
diff options
context:
space:
mode:
Diffstat (limited to 'src/interface')
-rw-r--r--src/interface/efi/efi_veto.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/interface/efi/efi_veto.c b/src/interface/efi/efi_veto.c
index 0abaa30..c2c812e 100644
--- a/src/interface/efi/efi_veto.c
+++ b/src/interface/efi/efi_veto.c
@@ -226,6 +226,7 @@ void efi_veto_unload ( void ) {
DBGC ( driver, "EFIVETO unloading %s (%s)\n",
efi_handle_name ( driver ), veto->name );
if ( ( efirc = bs->UnloadImage ( driver ) ) != 0 ) {
+ rc = -EEFI ( efirc );
DBGC ( driver, "EFIVETO could not unload %s: %s\n",
efi_handle_name ( driver ), strerror ( rc ) );
}