passchange: error message fix
authorMichael Tokarev <mjt@tls.msk.ru>
Mon, 26 Feb 2024 12:35:35 +0000 (15:35 +0300)
committerMichael Tokarev <mjt@tls.msk.ru>
Mon, 8 Jul 2024 13:40:49 +0000 (16:40 +0300)
Forwarded: yes

Missing space and newline.

Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Gbp-Pq: Name passchange-error-message.patch

source3/libsmb/passchange.c

index b3304ed6fc5d8e893d9c3de4c7734afbfb63067f..c5a179b53f1d87da961bbc48e3544581bf476144 100644 (file)
@@ -225,8 +225,8 @@ NTSTATUS remote_password_change(const char *remote_machine,
                if (!NT_STATUS_IS_OK(result)) {
                        int rc = asprintf(
                                err_str,
-                               "machine %s rejected to change the password"
-                               "with error: %s",
+                               "machine %s rejected to change the password "
+                               "with error: %s\n",
                                remote_machine,
                                get_friendly_nt_error_msg(result));
                        if (rc <= 0) {