diff options
Diffstat (limited to 'none/tests/exec-sigmask.c')
-rw-r--r-- | none/tests/exec-sigmask.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/none/tests/exec-sigmask.c b/none/tests/exec-sigmask.c index 11a24c58c..2ab8fed20 100644 --- a/none/tests/exec-sigmask.c +++ b/none/tests/exec-sigmask.c @@ -19,7 +19,7 @@ static void do_exec(const char *path, const char *arg, const sigset_t *mask) } if (pid == 0) { sigprocmask(SIG_SETMASK, mask, NULL); - execl(path, path, arg, NULL); + execl(path, path, arg, (char *) NULL); fprintf(stderr, "FAILED: execl failed with %s\n", strerror(errno)); |