diff options
Diffstat (limited to 'src/process/posix_spawnp.c')
-rw-r--r-- | src/process/posix_spawnp.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/process/posix_spawnp.c b/src/process/posix_spawnp.c index 7434bb69..04d768d0 100644 --- a/src/process/posix_spawnp.c +++ b/src/process/posix_spawnp.c @@ -4,11 +4,12 @@ int __posix_spawnx(pid_t *, const char *, int (*)(const char *, char *const *), const posix_spawn_file_actions_t *, - const posix_spawnattr_t *, char **, char **); + const posix_spawnattr_t *, char *const [], char *const []); int posix_spawnp(pid_t *res, const char *file, const posix_spawn_file_actions_t *fa, - const posix_spawnattr_t *attr, char **argv, char **envp) + const posix_spawnattr_t *attr, + char *const argv[], char *const envp[]) { return __posix_spawnx(res, file, execvp, fa, attr, argv, envp); } |