1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-03 13:47:25 +03:00

Use sys_usleep not usleep.

Jeremy.
(This used to be commit 8587dd95f850b4c6d2f015fe97ef98759ee8c236)
This commit is contained in:
Jeremy Allison 2002-03-14 01:05:34 +00:00
parent 47c2477233
commit d6d9e385cc

View File

@ -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;
}