summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2012-12-26 19:22:49 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2012-12-26 19:22:49 +0000
commit51796acb6ed2ffdbe2185bacb4a9930e2a66e8ad (patch)
treeaaf4432c82512c32609438803777c64ad2bd3312 /lib
parent2e2d75c001d9b3282f314ac5816025e3f0228b77 (diff)
Actually invoke the system call in libc's sigreturn() wrapper; went unnoticed
for 15 years or so (sigcode, of course, was correct).
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/arch/m88k/sys/sigreturn.S7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/libc/arch/m88k/sys/sigreturn.S b/lib/libc/arch/m88k/sys/sigreturn.S
index b85e1d98c68..5886102d4d9 100644
--- a/lib/libc/arch/m88k/sys/sigreturn.S
+++ b/lib/libc/arch/m88k/sys/sigreturn.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: sigreturn.S,v 1.6 2005/08/07 16:40:15 espie Exp $ */
+/* $OpenBSD: sigreturn.S,v 1.7 2012/12/26 19:22:48 miod Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@@ -37,8 +37,7 @@
/*
* We must preserve the state of the registers as the user has set them up.
- * Not sure what should be done XXX nivas
*/
-SYSENTRY(sigreturn)
- jmp r1 /* XXX gross */
+SYSCALL(sigreturn)
+ jmp r1