From 8587dd95f850b4c6d2f015fe97ef98759ee8c236 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Thu, 14 Mar 2002 01:05:34 +0000 Subject: Use sys_usleep not usleep. Jeremy. --- source/locking/locking.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/locking/locking.c b/source/locking/locking.c index 1090b0fcbf5..7a2e8cf1d74 100644 --- a/source/locking/locking.c +++ b/source/locking/locking.c @@ -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; } -- cgit