summaryrefslogtreecommitdiff
path: root/sys/arch/i386/stand
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/i386/stand')
-rw-r--r--sys/arch/i386/stand/libsa/exec_i386.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/arch/i386/stand/libsa/exec_i386.c b/sys/arch/i386/stand/libsa/exec_i386.c
index d2c4f751efc..3478aca1364 100644
--- a/sys/arch/i386/stand/libsa/exec_i386.c
+++ b/sys/arch/i386/stand/libsa/exec_i386.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: exec_i386.c,v 1.8 1997/04/15 20:50:36 mickey Exp $ */
+/* $OpenBSD: exec_i386.c,v 1.9 1997/07/18 00:50:53 mickey Exp $ */
/*
* Copyright (c) 1997 Michael Shalayeff
@@ -37,7 +37,7 @@
#include <sys/param.h>
#include <sys/exec.h>
#include <sys/reboot.h>
-#include <libsa.h>
+#include "libsa.h"
dev_t bootdev;
@@ -65,8 +65,9 @@ machdep_start(startaddr, howto, loadaddr, ssym, esym)
printf("entry point at 0x%x\n", (int)startaddr);
/* stack and the gung is ok at this point, so, no need for asm setup */
- (*(int __attribute__((noreturn))(*)(int,int,int,int,int,int))startaddr)(
- howto, bootdev, 0, round_to_size(esym), extmem, cnvmem);
+ (*(int __attribute__((noreturn))(*)(int,int,int,int,int,int,int))
+ startaddr)(howto, bootdev, 0, round_to_size(esym),
+ extmem, cnvmem, (int)&apminfo);
/* not reached */
}