From def62de106d97dbefc72152c31bde67ba4a3a354 Mon Sep 17 00:00:00 2001 From: Joseph Sutton Date: Mon, 7 Aug 2023 16:31:51 +1200 Subject: [PATCH] auth: Add missing newlines to logging messages Signed-off-by: Joseph Sutton Reviewed-by: Andrew Bartlett --- auth/credentials/credentials.c | 2 +- auth/credentials/credentials_krb5.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/auth/credentials/credentials.c b/auth/credentials/credentials.c index 1785423cb70..3690ac8c3a4 100644 --- a/auth/credentials/credentials.c +++ b/auth/credentials/credentials.c @@ -1882,7 +1882,7 @@ _PUBLIC_ NTSTATUS netlogon_creds_session_encrypt( if (data.data == NULL || data.length == 0) { DBG_ERR("Nothing to encrypt " - "data.data == NULL or data.length == 0"); + "data.data == NULL or data.length == 0\n"); return NT_STATUS_INVALID_PARAMETER; } /* diff --git a/auth/credentials/credentials_krb5.c b/auth/credentials/credentials_krb5.c index 71863367aa5..0ce70557c58 100644 --- a/auth/credentials/credentials_krb5.c +++ b/auth/credentials/credentials_krb5.c @@ -1516,7 +1516,7 @@ _PUBLIC_ int cli_credentials_get_aes256_key(struct cli_credentials *cred, &key); if (krb5_ret != 0) { DEBUG(1,("cli_credentials_get_aes256_key: " - "generation of a aes256-cts-hmac-sha1-96 key failed: %s", + "generation of a aes256-cts-hmac-sha1-96 key failed: %s\n", smb_get_krb5_error_message(smb_krb5_context->krb5_context, krb5_ret, mem_ctx))); return EINVAL;