summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2004-08-24 12:38:00 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:52:27 -0500
commit22cde8f665f7ed52785699a1d58db3271125ab89 (patch)
treef84f2409e47e041280baa36957d1dd5cefd59e64
parent2e954709de6d0048fafc653b0d70af05cdb0d3c2 (diff)
downloadsamba-22cde8f665f7ed52785699a1d58db3271125ab89.tar.gz
samba-22cde8f665f7ed52785699a1d58db3271125ab89.tar.xz
samba-22cde8f665f7ed52785699a1d58db3271125ab89.zip
r2013: BUG 1658: little bit of const (patch from : Helmut Heinreichsberger <helmut.heinreichsberger@chello.at>)
-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;