git: 8226a8b58810 - main - kern_sigsuspend(): style
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 09 Jun 2025 23:53:14 UTC
The branch main has been updated by kib:
URL: https://cgit.FreeBSD.org/src/commit/?id=8226a8b588101b7540249fa208a7ea67e4523c73
commit 8226a8b588101b7540249fa208a7ea67e4523c73
Author: Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2025-06-08 03:23:31 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2025-06-09 23:50:42 +0000
kern_sigsuspend(): style
Reviewed by: markj
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D50752
---
sys/kern/kern_sig.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sys/kern/kern_sig.c b/sys/kern/kern_sig.c
index f5ebd7c7b1ce..a98bee38e75c 100644
--- a/sys/kern/kern_sig.c
+++ b/sys/kern/kern_sig.c
@@ -1657,8 +1657,8 @@ kern_sigsuspend(struct thread *td, sigset_t mask)
*/
(p->p_sysent->sv_set_syscall_retval)(td, EINTR);
for (has_sig = 0; !has_sig;) {
- while (msleep(&p->p_sigacts, &p->p_mtx, PPAUSE|PCATCH, "pause",
- 0) == 0)
+ while (msleep(&p->p_sigacts, &p->p_mtx, PPAUSE | PCATCH,
+ "pause", 0) == 0)
/* void */;
thread_suspend_check(0);
mtx_lock(&p->p_sigacts->ps_mtx);