r3547: fixed waitpid in fcntl_lock.c (thanks to jbm for pointing this out)
authorAndrew Tridgell <tridge@samba.org>
Fri, 5 Nov 2004 10:30:54 +0000 (10:30 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:05:31 +0000 (13:05 -0500)
(This used to be commit 864a142409dcf3339343fdff407332629ad07633)

source4/build/tests/fcntl_lock.c

index 089c3c84241d1e07170d5a4f1334d52c3de4d0e2..ffd1ee69fab1acc4828117af6e206752314777f0 100644 (file)
@@ -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);