summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2012-03-24 20:43:07 +0100
committerJelmer Vernooij <jelmer@samba.org>2012-03-24 22:41:05 +0100
commitc9fb33697db1bdc1967a0cca557ad323ebe4ea22 (patch)
tree8eedb05e96de71557b7fbe5c850ca07dfac6cae0 /source3/rpc_server
parentc0288e0612187ecbfc4a81d071fd504ea8737b7a (diff)
downloadsamba-c9fb33697db1bdc1967a0cca557ad323ebe4ea22.tar.gz
samba-c9fb33697db1bdc1967a0cca557ad323ebe4ea22.tar.bz2
samba-c9fb33697db1bdc1967a0cca557ad323ebe4ea22.zip
use usleep rather than sys_usleep in various places, in anticipation of usleep moving to libreplace.
Diffstat (limited to 'source3/rpc_server')
-rw-r--r--source3/rpc_server/spoolss/srv_spoolss_nt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/spoolss/srv_spoolss_nt.c b/source3/rpc_server/spoolss/srv_spoolss_nt.c
index ef987e5fc9..c4e7e504ca 100644
--- a/source3/rpc_server/spoolss/srv_spoolss_nt.c
+++ b/source3/rpc_server/spoolss/srv_spoolss_nt.c
@@ -1957,7 +1957,7 @@ WERROR _spoolss_OpenPrinterEx(struct pipes_struct *p,
&& (RA_WIN2K == get_remote_arch()) )
{
DEBUG(10,("_spoolss_OpenPrinterEx: Enabling LAN/WAN hack for Win2k clients.\n"));
- sys_usleep( 500000 );
+ usleep( 500000 );
}
#endif