summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/utils/testparm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/testparm.c b/source3/utils/testparm.c
index d4dc22ec91..e131407831 100644
--- a/source3/utils/testparm.c
+++ b/source3/utils/testparm.c
@@ -145,7 +145,7 @@ parameter.\n");
ret = 1;
} else
/* check if there's a %u parameter present */
- if(strstr_m(lp_passwd_chat(), "%u") == NULL) {
+ if(strstr_m(lp_passwd_program(), "%u") == NULL) {
fprintf(stderr, "ERROR: the 'passwd program' (%s) requires a '%%u' parameter.\n", lp_passwd_program());
ret = 1;
}