summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/utils/net_rpc_join.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/net_rpc_join.c b/source3/utils/net_rpc_join.c
index 8259ec46e6..45c0fe5097 100644
--- a/source3/utils/net_rpc_join.c
+++ b/source3/utils/net_rpc_join.c
@@ -485,7 +485,7 @@ int net_rpc_testjoin(int argc, const char **argv)
nt_status = net_rpc_join_ok(domain, NULL, NULL);
if (!NT_STATUS_IS_OK(nt_status)) {
fprintf(stderr,"Join to domain '%s' is not valid: %s\n",
- nt_errstr(nt_status), domain);
+ domain, nt_errstr(nt_status));
free(domain);
return -1;
}