summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2002-03-14 01:05:34 +0000
committerJeremy Allison <jra@samba.org>2002-03-14 01:05:34 +0000
commitd6d9e385cc6ce61de9fec572209134be728cf1b0 (patch)
tree58db9c66ea6cc722dc524411a4219a173b33ce7e /source3
parent47c2477233197e426705b0e1d28fe4ca9ae113fa (diff)
downloadsamba-d6d9e385cc6ce61de9fec572209134be728cf1b0.tar.gz
samba-d6d9e385cc6ce61de9fec572209134be728cf1b0.tar.bz2
samba-d6d9e385cc6ce61de9fec572209134be728cf1b0.zip
Use sys_usleep not usleep.
Jeremy. (This used to be commit 8587dd95f850b4c6d2f015fe97ef98759ee8c236)
Diffstat (limited to 'source3')
-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;
}