git: ed84cb591df7 - main - sys_setpgid(): style, remove extra ()s
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 08 Jul 2023 19:07:30 UTC
The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=ed84cb591df70b860f988c455d70731e6df15186 commit ed84cb591df70b860f988c455d70731e6df15186 Author: Konstantin Belousov <kib@FreeBSD.org> AuthorDate: 2023-07-07 16:59:41 +0000 Commit: Konstantin Belousov <kib@FreeBSD.org> CommitDate: 2023-07-08 19:05:16 +0000 sys_setpgid(): style, remove extra ()s Sponsored by: The FreeBSD Foundation MFC after: 1 week --- sys/kern/kern_prot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/kern/kern_prot.c b/sys/kern/kern_prot.c index 733a92839f53..1fac6c496945 100644 --- a/sys/kern/kern_prot.c +++ b/sys/kern/kern_prot.c @@ -461,7 +461,7 @@ again: } done: sx_xunlock(&proctree_lock); - KASSERT((error == 0) || (newpgrp != NULL), + KASSERT(error == 0 || newpgrp != NULL, ("setpgid failed and newpgrp is NULL")); if (error == ERESTART) goto again;