From nobody Tue Dec 07 00:27:33 2021 X-Original-To: dev-commits-src-all@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 1BED318D393B; Tue, 7 Dec 2021 00:27:34 +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 4J7LjK4dqHz4SWd; Tue, 7 Dec 2021 00:27:33 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 726C015DB8; Tue, 7 Dec 2021 00:27:33 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1B70RXMY021329; Tue, 7 Dec 2021 00:27:33 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1B70RXmV021328; Tue, 7 Dec 2021 00:27:33 GMT (envelope-from git) Date: Tue, 7 Dec 2021 00:27:33 GMT Message-Id: <202112070027.1B70RXmV021328@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: 94f97c042450 - stable/13 - posix_spawn: style, use return () List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@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: 94f97c04245071d1fdc1e1b219cc9df38482317d Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1638836853; 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=W2gDMZ0lN0GW+45f4WmZExE5E9qKF4tD1kpO+LQi//8=; b=k49+rMTgwwrPr3mQ5jGpVIE/wSvQ+eeAbmilVqkUJI0gQQBd1ssi6sIBwsgSlFRiElD+eI 3Qp7ZKGPJM5NZCooXJaw6U8PAw39dpHjl8ePQt+8RvYrgF0W9LUWpjsZhqyV49crvhRg+h gv/tXAXmgNv5dMzKzb1cww3sBvCw6Ywy1e8G8wLNrn95N80R4INBf8C+fW4azdEm2d7If3 gsDc+WZPMJWeSOL9bq8Jum85tQd/RabOP0RVSFyEtZEwno1eniX2whgLvd0ggIEldHUrXF 9JSRWA/yH9rKCELHYgXS3QDB/fPf57HeF6KiBG8cBzlo44aYPPeZE06k4vXWoA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1638836853; a=rsa-sha256; cv=none; b=gq3/Vfhh4JIiWu72tUteLLHKTWwX6JzZlViwyS6+hp9/UHL0G1ahJ3GygUvbp9x+oYdOpU Gc4gKP0SEBd+f6TQ7Aw8X6mPz4Tywgl7Qp3T+Xh+MnPMI3O1Uvcb9WVgDKBU5c8S8AE3Zk FcfOMa958p+rQaPcKAGMaexGpQBBRO2KBTPiC0KeOKFZZ0yHhrNv1Yez/g4I+/MNoD/j8c i80UaZL51hzm4R1KISZXEgonlRyADnjCH1P38pms82MaODaSElIaSebrmNJgyrR6S2AgkS vtChM2ATR7+9264+GffDxgNNhvQAsEZf/fkzSHLmjuP1NCu8ZuKcdPJnzEQ9Lw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=94f97c04245071d1fdc1e1b219cc9df38482317d commit 94f97c04245071d1fdc1e1b219cc9df38482317d Author: Konstantin Belousov AuthorDate: 2021-11-27 22:45:12 +0000 Commit: Konstantin Belousov CommitDate: 2021-12-07 00:25:01 +0000 posix_spawn: style, use return () (cherry picked from commit b239cc204a57de4fea7c9477169591ed2df36fc8) --- lib/libc/gen/posix_spawn.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libc/gen/posix_spawn.c b/lib/libc/gen/posix_spawn.c index e70772e31753..03283cfcfb04 100644 --- a/lib/libc/gen/posix_spawn.c +++ b/lib/libc/gen/posix_spawn.c @@ -353,7 +353,7 @@ posix_spawn(pid_t *pid, const char *path, const posix_spawnattr_t *sa, char * const argv[], char * const envp[]) { - return do_posix_spawn(pid, path, fa, sa, argv, envp, 0); + return (do_posix_spawn(pid, path, fa, sa, argv, envp, 0)); } int @@ -362,7 +362,7 @@ posix_spawnp(pid_t *pid, const char *path, const posix_spawnattr_t *sa, char * const argv[], char * const envp[]) { - return do_posix_spawn(pid, path, fa, sa, argv, envp, 1); + return (do_posix_spawn(pid, path, fa, sa, argv, envp, 1)); } /*