diff options
Diffstat (limited to 'winsup/testsuite/winsup.api/ltp/fcntl07.c')
-rw-r--r-- | winsup/testsuite/winsup.api/ltp/fcntl07.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/testsuite/winsup.api/ltp/fcntl07.c b/winsup/testsuite/winsup.api/ltp/fcntl07.c index d62eb7967..e0082df45 100644 --- a/winsup/testsuite/winsup.api/ltp/fcntl07.c +++ b/winsup/testsuite/winsup.api/ltp/fcntl07.c @@ -375,7 +375,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", |