diff options
Diffstat (limited to 'winsup/testsuite/winsup.api/ltp/fcntl07B.c')
-rw-r--r-- | winsup/testsuite/winsup.api/ltp/fcntl07B.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/testsuite/winsup.api/ltp/fcntl07B.c b/winsup/testsuite/winsup.api/ltp/fcntl07B.c index 405bf6127..4e94ff267 100644 --- a/winsup/testsuite/winsup.api/ltp/fcntl07B.c +++ b/winsup/testsuite/winsup.api/ltp/fcntl07B.c @@ -374,7 +374,7 @@ do_exec(const char *prog, int fd, const char *tcd) case -1: return(-1); case 0: /* child */ - execlp(prog, openck, "-T", pidname, 0); + execlp(prog, openck, "-T", pidname, NULL); /* the ONLY reason to do this is to get the errno printed out */ fprintf(stderr, "exec(%s, %s, -T, %s) failed. Errno %s [%d]\n", |