summaryrefslogtreecommitdiff
path: root/lib/libc/arch/sparc64/sys/sigsuspend.S
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/arch/sparc64/sys/sigsuspend.S')
-rw-r--r--lib/libc/arch/sparc64/sys/sigsuspend.S5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libc/arch/sparc64/sys/sigsuspend.S b/lib/libc/arch/sparc64/sys/sigsuspend.S
index 0bede84ef73..0ea01074122 100644
--- a/lib/libc/arch/sparc64/sys/sigsuspend.S
+++ b/lib/libc/arch/sparc64/sys/sigsuspend.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: sigsuspend.S,v 1.4 2016/05/07 19:05:22 guenther Exp $ */
+/* $OpenBSD: sigsuspend.S,v 1.5 2023/12/10 16:45:52 deraadt Exp $ */
/*
* Copyright (c) 1992, 1993
* The Regents of the University of California. All rights reserved.
@@ -39,6 +39,7 @@
SYSENTRY_HIDDEN(sigsuspend)
ld [%o0], %o0 /* indirect to mask argument */
mov SYS_sigsuspend, %g1
- t ST_SYSCALL
+99: t ST_SYSCALL
+ PINSYSCALL(SYS_sigsuspend, 99b)
ERROR() /* always terminates with EINTR */
SYSCALL_END_HIDDEN(sigsuspend)