summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/utils/net_rpc_conf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/net_rpc_conf.c b/source3/utils/net_rpc_conf.c
index 0893442620..49c2eaf5f8 100644
--- a/source3/utils/net_rpc_conf.c
+++ b/source3/utils/net_rpc_conf.c
@@ -1840,7 +1840,7 @@ static NTSTATUS rpc_conf_setparm_internal(struct net_context *c,
if (!smbconf_reg_parameter_is_valid(canon_valname)) {
d_fprintf(stderr, "Parameter '%s' not allowed in registry.\n",
- canon_valname);
+ argv[1]);
werr = WERR_INVALID_PARAM;
goto error;
}