summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/build/tests/fcntl_lock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/build/tests/fcntl_lock.c b/source4/build/tests/fcntl_lock.c
index 089c3c8424..ffd1ee69fa 100644
--- a/source4/build/tests/fcntl_lock.c
+++ b/source4/build/tests/fcntl_lock.c
@@ -89,7 +89,7 @@ int main(int argc, char *argv[])
/* set a 4 byte write lock */
fcntl(fd,F_SETLK,&lock);
- sys_waitpid(pid, &status, 0);
+ waitpid(pid, &status, 0);
unlink(DATA);