summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/net_conf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/net_conf.c b/source3/utils/net_conf.c
index 1c61a25ee9..9888d1f548 100644
--- a/source3/utils/net_conf.c
+++ b/source3/utils/net_conf.c
@@ -171,7 +171,7 @@ static WERROR reg_setvalue_internal(struct registry_key *key,
goto done;
}
- if (!lp_parameter_valid(valname)) {
+ if (!lp_parameter_is_valid(valname)) {
d_fprintf(stderr, "Invalid parameter '%s' given.\n", valname);
werr = WERR_INVALID_PARAM;
goto done;