diff options
author | Samba Release Account <samba-bugs@samba.org> | 1997-07-06 13:48:10 +0000 |
---|---|---|
committer | Samba Release Account <samba-bugs@samba.org> | 1997-07-06 13:48:10 +0000 |
commit | 1fe89d0b716ccd9fca4abe4daf89df063b38f4b3 (patch) | |
tree | a4ed41e49fcbed2c2901b98a1ad6cfa765631b7a /source3/smbd/chgpasswd.c | |
parent | ee0acbe94c203e0ec5aa7fb09fb0a5a17ef8a31c (diff) | |
download | samba-1fe89d0b716ccd9fca4abe4daf89df063b38f4b3.tar.gz samba-1fe89d0b716ccd9fca4abe4daf89df063b38f4b3.tar.xz 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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/chgpasswd.c b/source3/smbd/chgpasswd.c index e0dd7fc0aea..79ea66253dc 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) { |