summaryrefslogtreecommitdiff
path: root/sys/arch/hp300
diff options
context:
space:
mode:
authorTobias Weingartner <weingart@cvs.openbsd.org>2009-03-25 22:43:00 +0000
committerTobias Weingartner <weingart@cvs.openbsd.org>2009-03-25 22:43:00 +0000
commit5b50f63abad000170e5fa6173975059cb8e8e96e (patch)
tree3e29b544203234a4c6a4ecdccde00afd849eb36f /sys/arch/hp300
parent6955677230481632c40b5626fb004d389d1fc3ac (diff)
Nuke old useless define. Miod was ok with the idea.
Diffstat (limited to 'sys/arch/hp300')
-rw-r--r--sys/arch/hp300/hp300/hpux_machdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/hp300/hp300/hpux_machdep.c b/sys/arch/hp300/hp300/hpux_machdep.c
index 74eec250d6c..e478ceceea0 100644
--- a/sys/arch/hp300/hp300/hpux_machdep.c
+++ b/sys/arch/hp300/hp300/hpux_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: hpux_machdep.c,v 1.22 2008/05/01 15:30:29 miod Exp $ */
+/* $OpenBSD: hpux_machdep.c,v 1.23 2009/03/25 22:42:58 weingart Exp $ */
/* $NetBSD: hpux_machdep.c,v 1.19 1998/02/16 20:58:30 thorpej Exp $ */
/*
@@ -632,7 +632,7 @@ hpux_sys_sigreturn(p, v, retval)
*/
if (flags & HSS_USERREGS)
bcopy((caddr_t)tstate.hss_frame.f_regs,
- (caddr_t)frame->f_regs, sizeof(frame->f_regs)-2*NBPW);
+ (caddr_t)frame->f_regs, sizeof(frame->f_regs)-2*sizeof(int));
/*
* Restore long stack frames. Note that we do not copy