summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-03-28 13:08:27 +1100
committerAndrew Bartlett <abartlet@samba.org>2012-04-05 02:39:09 +0200
commit3e8a6e576007892bab7d59367c5199a41fb1506d (patch)
tree297451b0b939f545185dea56f40ca28315ac90d5 /source3/rpc_server
parentecc822faf8f1e2f34573aabef381a846b08afeec (diff)
downloadsamba-3e8a6e576007892bab7d59367c5199a41fb1506d.tar.gz
samba-3e8a6e576007892bab7d59367c5199a41fb1506d.tar.bz2
samba-3e8a6e576007892bab7d59367c5199a41fb1506d.zip
build: Remove sys_closedir wrapper
Diffstat (limited to 'source3/rpc_server')
-rw-r--r--source3/rpc_server/samr/srv_samr_chgpasswd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpc_server/samr/srv_samr_chgpasswd.c b/source3/rpc_server/samr/srv_samr_chgpasswd.c
index 795471b580..a88f61437f 100644
--- a/source3/rpc_server/samr/srv_samr_chgpasswd.c
+++ b/source3/rpc_server/samr/srv_samr_chgpasswd.c
@@ -118,12 +118,12 @@ static int findpty(char **slave)
DEBUG(3, ("pty: opened %s\n", line));
line[5] = 't';
*slave = line;
- sys_closedir(dirp);
+ closedir(dirp);
return (master);
}
}
}
- sys_closedir(dirp);
+ closedir(dirp);
SAFE_FREE(line);
return (-1);
}