summaryrefslogtreecommitdiffstats
path: root/source/smbd/chgpasswd.c
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2004-08-24 12:38:00 +0000
committerGerald Carter <jerry@samba.org>2004-08-24 12:38:00 +0000
commit3213ca4acddd73cbed657a1425e16d50ca81b969 (patch)
tree2fa554853c886f3c549a2f8f7dd1360173894682 /source/smbd/chgpasswd.c
parent1800a046fbf57b2725095ec14265d28670e53649 (diff)
downloadsamba-3213ca4acddd73cbed657a1425e16d50ca81b969.tar.gz
samba-3213ca4acddd73cbed657a1425e16d50ca81b969.tar.xz
samba-3213ca4acddd73cbed657a1425e16d50ca81b969.zip
r2013: BUG 1658: little bit of const (patch from : Helmut Heinreichsberger <helmut.heinreichsberger@chello.at>)
Diffstat (limited to 'source/smbd/chgpasswd.c')
-rw-r--r--source/smbd/chgpasswd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/smbd/chgpasswd.c b/source/smbd/chgpasswd.c
index 5c1d66abc44..8ea5b9c60a3 100644
--- a/source/smbd/chgpasswd.c
+++ b/source/smbd/chgpasswd.c
@@ -328,7 +328,7 @@ static int talktochild(int master, const char *seq)
return (count > 0);
}
-static BOOL chat_with_program(char *passwordprogram, struct passwd *pass,
+static BOOL chat_with_program(char *passwordprogram, const struct passwd *pass,
char *chatsequence, BOOL as_root)
{
char *slavedev;