From nobody Tue Nov 30 02:16:35 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 B243C18B1AC3; Tue, 30 Nov 2021 02:16:36 +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 4J35SN1NcWz4Vgh; Tue, 30 Nov 2021 02:16:36 +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 0868B5DCC; Tue, 30 Nov 2021 02:16:36 +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 1AU2GZGO008129; Tue, 30 Nov 2021 02:16:35 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1AU2GZPN008128; Tue, 30 Nov 2021 02:16:35 GMT (envelope-from git) Date: Tue, 30 Nov 2021 02:16:35 GMT Message-Id: <202111300216.1AU2GZPN008128@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Konstantin Belousov Subject: git: b239cc204a57 - main - 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/main X-Git-Reftype: branch X-Git-Commit: b239cc204a57de4fea7c9477169591ed2df36fc8 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1638238596; 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=NKgQguTCky5QY2EoL4vYrPvLR9Y5MvG1nPu8f1D6iSQ=; b=kk/pUOWxLEISkVFtisPZI30fU0yAsxxIyuDFQV5CIwm/jXx2WVKiiBFBdK6uiUAaJsxtOw 9OTbuuh1Sq4BEe00QPXXRUPIqiRCsjQ3hd8mDRopHcuBiOfmfJ6xCI9X0OPVrTOEzzhHkU lBBGOdhTYi6Nko6esCZkHHGYnMk0u7PjtWAQEADfeq7OaQJjSuu5NukNn55QXpYj5KYazs yCw8XHc4wKh3HogqITosDZTH6P1iNWdUnZjkHcDkOm+tWDy9zR38zNTRHKsym8U35t8d/W biOFkKSD1vxhl2X5nWyGyHIDwTD4Ds74dG9sJWsdreVUSk8EZH5GwnFDJZ1ESA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1638238596; a=rsa-sha256; cv=none; b=qdI5lsGJRBOPtl7LbxnYdqjUW1q0vkwp6ltoq0/gSBYAmlk1+jYxK4ze5EAR3b4fj7Hox5 4RaX1bsP0IGu/ZyNY6/OM6Rp/XXPLUOTDrJhClf9+auaez6jFdTqe10sXG74X3E7u6cZwa LZONOU7/hLpbrQ35w+b+WLr6xaq342gQF1lOnUZ4MvQQf8Tsv5pSUqW2c0ULJv2VGr4DBZ txpJuhf7GWuuSO9jW1GfbpeeHX0+pflyKu6M/+85SbDVCowr7kH0se0xMQKZy5NkEJjo1s vBm96BmawwvgIIT7u41gyUZNv37k1/nE7uNCQ0SNeQwS693D3963pyNi6uFdjw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=b239cc204a57de4fea7c9477169591ed2df36fc8 commit b239cc204a57de4fea7c9477169591ed2df36fc8 Author: Konstantin Belousov AuthorDate: 2021-11-27 22:45:12 +0000 Commit: Konstantin Belousov CommitDate: 2021-11-30 01:43:54 +0000 posix_spawn: style, use return () Reviewed by: kevans, ngie (previous version) Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D33143 --- 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)); } /*