summaryrefslogtreecommitdiff
path: root/source3/utils
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/utils
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/utils')
-rw-r--r--source3/utils/net_rpc_service.c2
-rw-r--r--source3/utils/status_profile.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/utils/net_rpc_service.c b/source3/utils/net_rpc_service.c
index d1208e2ce2..523eafd653 100644
--- a/source3/utils/net_rpc_service.c
+++ b/source3/utils/net_rpc_service.c
@@ -200,7 +200,7 @@ static WERROR watch_service_state(struct rpc_pipe_client *pipe_hnd,
d_printf(".");
i++;
- sys_usleep( 100 );
+ usleep( 100 );
}
d_printf("\n");
diff --git a/source3/utils/status_profile.c b/source3/utils/status_profile.c
index c0eeb7a923..e01b1652ab 100644
--- a/source3/utils/status_profile.c
+++ b/source3/utils/status_profile.c
@@ -563,7 +563,7 @@ bool status_profile_rates(bool verbose)
(unsigned long )usec_to_msec(remain_usec));
}
- sys_usleep(remain_usec);
+ usleep(remain_usec);
}
}