summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/utils/net_rpc_registry.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/net_rpc_registry.c b/source3/utils/net_rpc_registry.c
index 3634b0a4f2..ea160b201c 100644
--- a/source3/utils/net_rpc_registry.c
+++ b/source3/utils/net_rpc_registry.c
@@ -385,7 +385,7 @@ static NTSTATUS rpc_registry_setvalue_internal(const DOM_SID *domain_sid,
value.v.sz.str = CONST_DISCARD(char *, argv[3]);
}
else {
- d_fprintf(stderr, "type \"%s\" not implemented\n", argv[3]);
+ d_fprintf(stderr, "type \"%s\" not implemented\n", argv[2]);
status = NT_STATUS_NOT_IMPLEMENTED;
goto error;
}