summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2012-12-26 19:22:48 +0000
committermiod <miod@openbsd.org>2012-12-26 19:22:48 +0000
commit837a6465cfcef27ec0be8217fc054d982423fde0 (patch)
tree3628f0d0c8cf5ef53a5b4196bd585e441f99fade /lib/libc
parentcorrection of the SRCDIR check (diff)
downloadwireguard-openbsd-837a6465cfcef27ec0be8217fc054d982423fde0.tar.xz
wireguard-openbsd-837a6465cfcef27ec0be8217fc054d982423fde0.zip
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/libc')
-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