mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
Use sys_usleep not usleep.
Jeremy.
This commit is contained in:
parent
f032c6f710
commit
8587dd95f8
@ -164,7 +164,7 @@ NTSTATUS do_lock_spin(files_struct *fsp,connection_struct *conn, uint16 lock_pid
|
||||
!NT_STATUS_EQUAL(status, NT_STATUS_FILE_LOCK_CONFLICT))
|
||||
break;
|
||||
if (sleeptime)
|
||||
usleep(sleeptime);
|
||||
sys_usleep(sleeptime);
|
||||
}
|
||||
return status;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user