summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2001-12-06 23:25:00 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2001-12-06 23:25:00 +0000
commitefb4dc8bcd9edd35a637e0e92391977287ef886e (patch)
treee87e75e10ba84d687df54ce1f5503e59a169e378 /sys
parentda27d02be8cea59eb63e8a7f2cf7017f63dfe300 (diff)
Don't hardcode SYS_exit value.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/m68k/m68k/sigcode.s4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/m68k/m68k/sigcode.s b/sys/arch/m68k/m68k/sigcode.s
index 042807fdb2e..3ca672e4501 100644
--- a/sys/arch/m68k/m68k/sigcode.s
+++ b/sys/arch/m68k/m68k/sigcode.s
@@ -1,4 +1,4 @@
-/* $OpenBSD: sigcode.s,v 1.1 1997/07/06 07:46:30 downsj Exp $ */
+/* $OpenBSD: sigcode.s,v 1.2 2001/12/06 23:24:59 miod Exp $ */
/* $NetBSD: sigcode.s,v 1.2 1997/04/25 02:22:03 thorpej Exp $ */
/*
@@ -75,7 +75,7 @@ GLOBAL(sigcode)
GLOBAL(sigcodetrap)
trap #1 | special syscall entry (2 bytes)
movl d0,sp@(4) | save errno (4 bytes)
- moveq #1,d0 | syscall == exit (2 bytes)
+ moveq #SYS_exit,d0 | syscall == exit (2 bytes)
trap #0 | exit(errno) (2 bytes)
.align 2
GLOBAL(esigcode)