summaryrefslogtreecommitdiff
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
commit3be4c47b905468e541a3fd0491c3eb9ea538ef0b (patch)
treef54c83557ae334c808d67a19da1aa7be172b631d
parent93c20b30e4d1e364483c7e92055ca9d2dbd177c0 (diff)
downloadsamba-3be4c47b905468e541a3fd0491c3eb9ea538ef0b.tar.gz
samba-3be4c47b905468e541a3fd0491c3eb9ea538ef0b.tar.bz2
samba-3be4c47b905468e541a3fd0491c3eb9ea538ef0b.zip
r2013: BUG 1658: little bit of const (patch from : Helmut Heinreichsberger <helmut.heinreichsberger@chello.at>)
(This used to be commit 22cde8f665f7ed52785699a1d58db3271125ab89)
-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 5c1d66abc4..8ea5b9c60a 100644
--- a/source3/smbd/chgpasswd.c
+++ b/source3/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;