summaryrefslogtreecommitdiffstats
path: root/src/interface
diff options
context:
space:
mode:
Diffstat (limited to 'src/interface')
-rw-r--r--src/interface/efi/efi_autoboot.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/interface/efi/efi_autoboot.c b/src/interface/efi/efi_autoboot.c
index 33a780f5b..6e8f9df63 100644
--- a/src/interface/efi/efi_autoboot.c
+++ b/src/interface/efi/efi_autoboot.c
@@ -194,6 +194,9 @@ static int efi_load_autoexec ( EFI_HANDLE device ) {
DBGC ( device, "EFI %s found %ls\n",
efi_handle_name ( device ), name );
+ /* Success */
+ rc = 0;
+
err_read:
if ( data )
bs->FreePool ( data );