git: b239cc204a57 - main - posix_spawn: style, use return ()
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 30 Nov 2021 02:16:35 UTC
The branch main has been updated by kib:
URL: https://cgit.FreeBSD.org/src/commit/?id=b239cc204a57de4fea7c9477169591ed2df36fc8
commit b239cc204a57de4fea7c9477169591ed2df36fc8
Author: Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2021-11-27 22:45:12 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
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));
}
/*