summaryrefslogtreecommitdiff
path: root/sys/arch/armv7/stand/efiboot/exec.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/armv7/stand/efiboot/exec.c')
-rw-r--r--sys/arch/armv7/stand/efiboot/exec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/armv7/stand/efiboot/exec.c b/sys/arch/armv7/stand/efiboot/exec.c
index 02c12f0a0d0..5abf40c6e3c 100644
--- a/sys/arch/armv7/stand/efiboot/exec.c
+++ b/sys/arch/armv7/stand/efiboot/exec.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: exec.c,v 1.3 2016/05/14 20:00:24 kettenis Exp $ */
+/* $OpenBSD: exec.c,v 1.4 2016/05/14 21:22:56 kettenis Exp $ */
/*
* Copyright (c) 2006, 2016 Mark Kettenis
@@ -132,7 +132,7 @@ run_loadfile(u_long *marks, int howto)
memcpy((void *)0x10000000, tags, sizeof(tags));
- BS->ExitBootServices(NULL, 0);
+ efi_cleanup();
(*(startfuncp)(marks[MARK_ENTRY]))(NULL, (void *)4821, (void *)0x10000000);