summaryrefslogtreecommitdiff
path: root/source3/smbd/chgpasswd.c
diff options
context:
space:
mode:
authorSamba Release Account <samba-bugs@samba.org>1997-07-06 13:48:10 +0000
committerSamba Release Account <samba-bugs@samba.org>1997-07-06 13:48:10 +0000
commit1fe89d0b716ccd9fca4abe4daf89df063b38f4b3 (patch)
treea4ed41e49fcbed2c2901b98a1ad6cfa765631b7a /source3/smbd/chgpasswd.c
parentee0acbe94c203e0ec5aa7fb09fb0a5a17ef8a31c (diff)
downloadsamba-1fe89d0b716ccd9fca4abe4daf89df063b38f4b3.tar.gz
samba-1fe89d0b716ccd9fca4abe4daf89df063b38f4b3.tar.bz2
samba-1fe89d0b716ccd9fca4abe4daf89df063b38f4b3.zip
added, tested and debugged new "hide files" option.
lkcl (This used to be commit 60af320a436c3a26230fd7ac71856e67ef64e819)
Diffstat (limited to 'source3/smbd/chgpasswd.c')
-rw-r--r--source3/smbd/chgpasswd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/chgpasswd.c b/source3/smbd/chgpasswd.c
index e0dd7fc0ae..79ea66253d 100644
--- a/source3/smbd/chgpasswd.c
+++ b/source3/smbd/chgpasswd.c
@@ -56,7 +56,7 @@ static int findpty(char **slave)
#else
strcpy( line, "/dev/ptyXX" );
- dirp = OpenDir("/dev", True);
+ dirp = OpenDir(-1, "/dev", True);
if (!dirp) return(-1);
while ((dpname = ReadDirName(dirp)) != NULL) {
if (strncmp(dpname, "pty", 3) == 0 && strlen(dpname) == 5) {