summaryrefslogtreecommitdiff
path: root/sys/arch/amd64/stand/libsa/exec_i386.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/amd64/stand/libsa/exec_i386.c')
-rw-r--r--sys/arch/amd64/stand/libsa/exec_i386.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/amd64/stand/libsa/exec_i386.c b/sys/arch/amd64/stand/libsa/exec_i386.c
index c14b5b8c240..f5559048a01 100644
--- a/sys/arch/amd64/stand/libsa/exec_i386.c
+++ b/sys/arch/amd64/stand/libsa/exec_i386.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: exec_i386.c,v 1.3 2004/02/25 00:16:42 deraadt Exp $ */
+/* $OpenBSD: exec_i386.c,v 1.4 2004/03/21 21:37:41 tom Exp $ */
/*
* Copyright (c) 1997-1998 Michael Shalayeff
@@ -53,6 +53,9 @@ run_loadfile(u_long *marks, int howto)
bios_consdev_t cd;
extern int com_speed; /* from bioscons.c */
+ if (sa_cleanup != NULL)
+ (*sa_cleanup)();
+
cd.consdev = cn_tab->cn_dev;
cd.conspeed = com_speed;
addbootarg(BOOTARG_CONSDEV, sizeof(cd), &cd);