From 8a1924dd7328646336c14d864dd6448a83b47214 Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Wed, 17 Jul 2013 19:18:16 +0000 Subject: Fix setregs() to match prototype. Exposed by recent _types.h change, found the hard way by aoyama@ --- sys/arch/m88k/m88k/m88k_machdep.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys') 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); -- cgit v1.2.3