summaryrefslogtreecommitdiff
path: root/source3/smbd/chgpasswd.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2003-03-16 13:21:12 +0000
committerAndrew Bartlett <abartlet@samba.org>2003-03-16 13:21:12 +0000
commit400bb4bfab01a6c262b15658dee5c0d011d0e883 (patch)
tree9b75d0e768fe99a3e677538dcef7f951460aba38 /source3/smbd/chgpasswd.c
parent644ab8e9b13970f6c6ea7f89760a01484b591172 (diff)
downloadsamba-400bb4bfab01a6c262b15658dee5c0d011d0e883.tar.gz
samba-400bb4bfab01a6c262b15658dee5c0d011d0e883.tar.bz2
samba-400bb4bfab01a6c262b15658dee5c0d011d0e883.zip
- Make ReadDirName return a const char*.
- Consequential changes from that - mark our fstring/pstring assumptions in function prototypes Andrew Bartlett (This used to be commit fe2bc64bc439b27387b8f326b0f4f3bfcc3d04a1)
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 401ab131ad..31c4fa7cc9 100644
--- a/source3/smbd/chgpasswd.c
+++ b/source3/smbd/chgpasswd.c
@@ -64,7 +64,7 @@ static int findpty(char **slave)
int master;
static fstring line;
DIR *dirp;
- char *dpname;
+ const char *dpname;
#if defined(HAVE_GRANTPT)
/* Try to open /dev/ptmx. If that fails, fall through to old method. */