summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--source/build/tests/fcntl_lock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/build/tests/fcntl_lock.c b/source/build/tests/fcntl_lock.c
index 089c3c84241..ffd1ee69fab 100644
--- a/source/build/tests/fcntl_lock.c
+++ b/source/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);