summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2013-07-17 19:18:16 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2013-07-17 19:18:16 +0000
commit8a1924dd7328646336c14d864dd6448a83b47214 (patch)
treec491be11bd008924ea9be5d7229cced68d11cb0a /sys
parentd9d8af3f004bc38348ab95bd8c04fb33f67b317e (diff)
Fix setregs() to match prototype. Exposed by recent _types.h change, found the
hard way by aoyama@
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/m88k/m88k/m88k_machdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/m88k/m88k/m88k_machdep.c b/sys/arch/m88k/m88k/m88k_machdep.c
index eb4bbe63d64..acb07c21216 100644
--- a/sys/arch/m88k/m88k/m88k_machdep.c
+++ b/sys/arch/m88k/m88k/m88k_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: m88k_machdep.c,v 1.56 2013/05/15 20:18:04 miod Exp $ */
+/* $OpenBSD: m88k_machdep.c,v 1.57 2013/07/17 19:18:15 miod Exp $ */
/*
* Copyright (c) 1998, 1999, 2000, 2001 Steve Murphree, Jr.
* Copyright (c) 1996 Nivas Madhur
@@ -117,7 +117,7 @@ setregs(p, pack, stack, retval)
struct proc *p;
struct exec_package *pack;
u_long stack;
- int retval[2];
+ register_t retval[2];
{
struct trapframe *tf = (struct trapframe *)USER_REGS(p);