diff options
author | cheloha <cheloha@cvs.openbsd.org> | 2020-12-23 20:48:07 +0000 |
---|---|---|
committer | cheloha <cheloha@cvs.openbsd.org> | 2020-12-23 20:48:07 +0000 |
commit | cbf2326c62f1674f517b35d6f024b2d770a611a7 (patch) | |
tree | 5ea0b9a7ef1deb0374f3db6dd71b46fcf0bbd3b6 | |
parent | 754e17c8a9bdc0dc7fe5d3116711a1a0a1cd61df (diff) |
sigsuspend(2): change wmesg from "pause" to "sigsusp"
Make it obvious where the thread is blocked. "pause" is ambiguous.
Tweaked by kettenis@.
Probably ok kettenis@.
-rw-r--r-- | sys/kern/kern_sig.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_sig.c b/sys/kern/kern_sig.c index 561d3467c58..41a71ca9ab3 100644 --- a/sys/kern/kern_sig.c +++ b/sys/kern/kern_sig.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_sig.c,v 1.268 2020/12/07 16:55:28 mpi Exp $ */ +/* $OpenBSD: kern_sig.c,v 1.269 2020/12/23 20:48:06 cheloha Exp $ */ /* $NetBSD: kern_sig.c,v 1.54 1996/04/22 01:38:32 christos Exp $ */ /* @@ -523,7 +523,7 @@ sys_sigsuspend(struct proc *p, void *v, register_t *retval) struct sigacts *ps = pr->ps_sigacts; dosigsuspend(p, SCARG(uap, mask) &~ sigcantmask); - while (tsleep_nsec(ps, PPAUSE|PCATCH, "pause", INFSLP) == 0) + while (tsleep_nsec(ps, PPAUSE|PCATCH, "sigsusp", INFSLP) == 0) /* void */; /* always return EINTR rather than ERESTART... */ return (EINTR); |