git: 94f97c042450 - stable/13 - posix_spawn: style, use return ()
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 07 Dec 2021 00:27:33 UTC
The branch stable/13 has been updated by kib:
URL: https://cgit.FreeBSD.org/src/commit/?id=94f97c04245071d1fdc1e1b219cc9df38482317d
commit 94f97c04245071d1fdc1e1b219cc9df38482317d
Author: Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2021-11-27 22:45:12 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
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));
}
/*