summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/locking/locking.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/locking/locking.c b/source3/locking/locking.c
index 1090b0fcbf..7a2e8cf1d7 100644
--- a/source3/locking/locking.c
+++ b/source3/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;
}