diff options
| author | Jilles Tjoelker <jilles@FreeBSD.org> | 2026-05-09 22:01:50 +0000 |
|---|---|---|
| committer | Jilles Tjoelker <jilles@FreeBSD.org> | 2026-05-09 22:02:25 +0000 |
| commit | 3ca8ec19b6ecc8ae4413d0505ce2d0efdd3e52c8 (patch) | |
| tree | 5edc32fd2d37e791e631ce301db0547cf0547188 | |
| parent | fdd7daa2318ed3177e2674b9a3d18d21e2035ee1 (diff) | |
| -rw-r--r-- | lib/libc/gen/posix_spawn.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/gen/posix_spawn.c b/lib/libc/gen/posix_spawn.c index 11cdb5a29d03..faddb0d1494f 100644 --- a/lib/libc/gen/posix_spawn.c +++ b/lib/libc/gen/posix_spawn.c @@ -424,7 +424,7 @@ posix_spawn_file_actions_init(posix_spawn_file_actions_t *ret) fa = malloc(sizeof(struct __posix_spawn_file_actions)); if (fa == NULL) - return (-1); + return (errno); STAILQ_INIT(&fa->fa_list); *ret = fa; |
