From nobody Tue Jul 11 00:46:23 2023 X-Original-To: dev-commits-src-branches@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4R0Mcv632Jz4dNP2; Tue, 11 Jul 2023 00:46:23 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4R0Mcv5ddsz4F8d; Tue, 11 Jul 2023 00:46:23 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689036383; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=bDuhOMfyqPlfO22tGDZ4ZYzcGibkJBui+2S0plZpEms=; b=c03HT+qaKFsFxYDpv55lyx2dD0B/dMKPTD1RL649Aqp8uhyio+aRp0rYYLLuo5UHlb62Xm CRfBofVbjxHeRmM6bYcFwS4GoFdD3v3sWKtfCF+zqcYvDH2Ojx6VtqvqgOVQhGLoPMlsFe /MH523auWbyPu78ZTgRbzCXKzTYqP5aeA2gVvEptpnz8kY0fWzezxVUi8TZVuUsYPyl5I0 0wNS3zdHzqG1ox4zq2W/XBEe0zEI+itr7CH9dxa47onfmzf719AkN93J9LL1hBSZrP89Ow IttQUjM3zOg/viw/bQQ9elrEfyBhjMxGRNBTlxrWyr+SK6wQ4ANwgHWisFdd+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689036383; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=bDuhOMfyqPlfO22tGDZ4ZYzcGibkJBui+2S0plZpEms=; b=GQgMWJl7vQLgELu5pcEnj7pD2XCa5/z2xBziSdENWX3OoPWHqZJ6DYbRzZHRlRJBGKLL1Q t0vhTsulzdZyAaYE6cQEpHN+vTI3HGkaim+oZ/ysjQGBRo//bi+992l7gn8hSFjCsdkEO1 jUgiNdd2JOjCtSu2AIIpnueeRSN8//bGFVi88p/tx2f8WBxxKRFqPfxJ8GzzQGBjqTI33K w1dCJ/5r4d/dqUKPWdi/PNkPVrnZrO06/xMCvXCtaTo2a2BcOU0qRw8g0fU4SYPML8ESGQ N0x/gJHDx0aLf/MWJMZ6TGQ8Boe4tKq4NE4BdO6NeZqNJIxf2GoR2Rsuq57CNQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1689036383; a=rsa-sha256; cv=none; b=SEus8dSbL6wJe/nGy/RWOjVbcT2ODf6t3lEAPzloQ5Hd+6WuDm4YdZeR+oKWSd98FFGgND pRd9FCpc/9x2I9ITxLAzGt2a1PaFwpEk2MgPVIFjh3f05YZPWLMAyatZu+zmeFJcPW+e/E OmL5XGOZres7rvCTWMZZ/rtRTqDp3f7yQeeKKSfQBu5V7UfFyWUwfJLu7P5PgBpRZfm+8g Gcvo4GffSQKSmgvXNLZWND5Ao2nrrry4SivIOyr1gIPfxL1E3upT8NEei64ZCR7xBpF2mp fj4lJCpBFB0uDZdPUC3JDNcgtTokNpEZdxKhFX9hk3uSBYM8nQYLFvbVwJyUJw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4R0Mcv4bCXz15lk; Tue, 11 Jul 2023 00:46:23 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 36B0kNC9082111; Tue, 11 Jul 2023 00:46:23 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36B0kNbv082110; Tue, 11 Jul 2023 00:46:23 GMT (envelope-from git) Date: Tue, 11 Jul 2023 00:46:23 GMT Message-Id: <202307110046.36B0kNbv082110@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Konstantin Belousov Subject: git: a48de695e69e - stable/13 - sys_setpgid(): style, remove extra ()s List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kib X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: a48de695e69ea43d70669bf0cfa71aa913675c96 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=a48de695e69ea43d70669bf0cfa71aa913675c96 commit a48de695e69ea43d70669bf0cfa71aa913675c96 Author: Konstantin Belousov AuthorDate: 2023-07-07 16:59:41 +0000 Commit: Konstantin Belousov CommitDate: 2023-07-11 00:46:02 +0000 sys_setpgid(): style, remove extra ()s (cherry picked from commit ed84cb591df70b860f988c455d70731e6df15186) --- 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 9710f6ca1fe0..cf88cae3a72d 100644 --- a/sys/kern/kern_prot.c +++ b/sys/kern/kern_prot.c @@ -454,7 +454,7 @@ sys_setpgid(struct thread *td, struct setpgid_args *uap) } done: sx_xunlock(&proctree_lock); - KASSERT((error == 0) || (newpgrp != NULL), + KASSERT(error == 0 || newpgrp != NULL, ("setpgid failed and newpgrp is NULL")); uma_zfree(pgrp_zone, newpgrp); return (error);