summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
Diffstat (limited to 'source3/rpc_server')
-rw-r--r--source3/rpc_server/samr/srv_samr_chgpasswd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/samr/srv_samr_chgpasswd.c b/source3/rpc_server/samr/srv_samr_chgpasswd.c
index b083fb94bf..795471b580 100644
--- a/source3/rpc_server/samr/srv_samr_chgpasswd.c
+++ b/source3/rpc_server/samr/srv_samr_chgpasswd.c
@@ -101,7 +101,7 @@ static int findpty(char **slave)
return (-1);
}
- dirp = sys_opendir("/dev");
+ dirp = opendir("/dev");
if (!dirp) {
SAFE_FREE(line);
return (-1);