From: niklas Date: Fri, 21 Feb 1997 09:02:41 +0000 (+0000) Subject: fetched a comment from mvme68k + style nit X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=63398bb7110d0eb9ffbaedfdb3c1e6818c493e92;p=openbsd fetched a comment from mvme68k + style nit --- diff --git a/sys/arch/amiga/amiga/machdep.c b/sys/arch/amiga/amiga/machdep.c index f154dd77e87..fd96bbf06de 100644 --- a/sys/arch/amiga/amiga/machdep.c +++ b/sys/arch/amiga/amiga/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.21 1997/02/03 15:05:06 deraadt Exp $ */ +/* $OpenBSD: machdep.c,v 1.22 1997/02/21 09:02:41 niklas Exp $ */ /* $NetBSD: machdep.c,v 1.82 1996/12/17 07:32:54 is Exp $ */ /* @@ -880,7 +880,8 @@ printf("sendsig %d %d %x %x %x\n", p->p_pid, sig, mask, code, catcher); initsiginfo(&kfp->sf_si, sig, code, type, val); } - (void) copyout((caddr_t)kfp, (caddr_t)fp, sizeof(struct sigframe)); + /* XXX do not copy out siginfo if not needed */ + (void)copyout((caddr_t)kfp, (caddr_t)fp, sizeof(struct sigframe)); frame->f_regs[SP] = (int)fp; #ifdef DEBUG if (sigdebug & SDB_FOLLOW)