summaryrefslogtreecommitdiff
path: root/source3/smbd/service.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd/service.c')
-rw-r--r--source3/smbd/service.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source3/smbd/service.c b/source3/smbd/service.c
index cedac1c76f..b4a1115867 100644
--- a/source3/smbd/service.c
+++ b/source3/smbd/service.c
@@ -54,8 +54,8 @@ BOOL become_service(connection_struct *conn,BOOL do_chdir)
snum = SNUM(conn);
if (do_chdir &&
- ChDir(conn->connectpath) != 0 &&
- ChDir(conn->origpath) != 0) {
+ dos_ChDir(conn->connectpath) != 0 &&
+ dos_ChDir(conn->origpath) != 0) {
DEBUG(0,("chdir (%s) failed\n",
conn->connectpath));
return(False);
@@ -430,7 +430,7 @@ connection_struct *make_connection(char *service,char *user,char *password, int
return NULL;
}
- if (ChDir(conn->connectpath) != 0) {
+ if (dos_ChDir(conn->connectpath) != 0) {
DEBUG(0,("Can't change directory to %s (%s)\n",
conn->connectpath,strerror(errno)));
unbecome_user();
@@ -453,9 +453,9 @@ connection_struct *make_connection(char *service,char *user,char *password, int
{
pstring s;
pstrcpy(s,conn->connectpath);
- GetWd(s);
+ dos_GetWd(s);
string_set(&conn->connectpath,s);
- ChDir(conn->connectpath);
+ dos_ChDir(conn->connectpath);
}
#endif