1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

r3547: fixed waitpid in fcntl_lock.c (thanks to jbm for pointing this out)

This commit is contained in:
Andrew Tridgell 2004-11-05 10:30:54 +00:00 committed by Gerald (Jerry) Carter
parent 51c1c2af68
commit 864a142409

View 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);