diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1997-02-21 09:02:42 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1997-02-21 09:02:42 +0000 |
commit | f37b550a89c723735df74308f63116981ae7bd9b (patch) | |
tree | 6dd38f444e066f4928005d177583a87e85c4f65a /sys/arch/amiga | |
parent | a35767fe85dda3c06655bceab35427c23d45d498 (diff) |
fetched a comment from mvme68k + style nit
Diffstat (limited to 'sys/arch/amiga')
-rw-r--r-- | sys/arch/amiga/amiga/machdep.c | 5 |
1 files changed, 3 insertions, 2 deletions
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) |