summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/libsmb/passchange.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/passchange.c b/source3/libsmb/passchange.c
index 45cd392a5a..7747062d4b 100644
--- a/source3/libsmb/passchange.c
+++ b/source3/libsmb/passchange.c
@@ -197,7 +197,7 @@ NTSTATUS remote_password_change(const char *remote_machine, const char *user_nam
if (asprintf(err_str, "SAMR connection to machine %s "
"failed. Error was %s, but LANMAN password "
"changed are disabled\n",
- nt_errstr(result), remote_machine) == -1) {
+ remote_machine, nt_errstr(result)) == -1) {
*err_str = NULL;
}
result = cli_nt_error(cli);