mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
r3547: fixed waitpid in fcntl_lock.c (thanks to jbm for pointing this out)
This commit is contained in:
parent
51c1c2af68
commit
864a142409
@ -89,7 +89,7 @@ int main(int argc, char *argv[])
|
|||||||
/* set a 4 byte write lock */
|
/* set a 4 byte write lock */
|
||||||
fcntl(fd,F_SETLK,&lock);
|
fcntl(fd,F_SETLK,&lock);
|
||||||
|
|
||||||
sys_waitpid(pid, &status, 0);
|
waitpid(pid, &status, 0);
|
||||||
|
|
||||||
unlink(DATA);
|
unlink(DATA);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user