diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2012-03-24 20:43:07 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2012-03-24 22:41:05 +0100 |
commit | c9fb33697db1bdc1967a0cca557ad323ebe4ea22 (patch) | |
tree | 8eedb05e96de71557b7fbe5c850ca07dfac6cae0 /source3/passdb | |
parent | c0288e0612187ecbfc4a81d071fd504ea8737b7a (diff) | |
download | samba-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/passdb')
-rw-r--r-- | source3/passdb/pdb_smbpasswd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/passdb/pdb_smbpasswd.c b/source3/passdb/pdb_smbpasswd.c index 4d5bed4e10..c1dabc4dff 100644 --- a/source3/passdb/pdb_smbpasswd.c +++ b/source3/passdb/pdb_smbpasswd.c @@ -217,7 +217,7 @@ static FILE *startsmbfilepwent(const char *pfile, enum pwf_access_type type, int if((fd = sys_open(pfile, O_CREAT|O_TRUNC|O_EXCL|O_RDWR, 0600))!=-1) { break; } - sys_usleep(200); /* Spin, spin... */ + usleep(200); /* Spin, spin... */ } if(fd == -1) { DEBUG(0,("startsmbfilepwent_internal: too many race conditions \ |