From a30b6d1eb7cb85b28628a191761897027726b153 Mon Sep 17 00:00:00 2001 From: Joseph Sutton Date: Mon, 7 Aug 2023 16:51:02 +1200 Subject: [PATCH] s3:utils: Add missing newlines to logging messages Signed-off-by: Joseph Sutton Reviewed-by: Andrew Bartlett --- source3/utils/net_rpc.c | 2 +- source3/utils/nmblookup.c | 2 +- source3/utils/ntlm_auth.c | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/source3/utils/net_rpc.c b/source3/utils/net_rpc.c index a29db48ac47..45fea09d13d 100644 --- a/source3/utils/net_rpc.c +++ b/source3/utils/net_rpc.c @@ -5089,7 +5089,7 @@ static bool get_user_tokens_from_file(FILE *f, } if (token == NULL) { - DEBUG(0, ("File does not begin with username")); + DEBUG(0, ("File does not begin with username\n")); return false; } diff --git a/source3/utils/nmblookup.c b/source3/utils/nmblookup.c index a78967fdb88..005daaba0d4 100644 --- a/source3/utils/nmblookup.c +++ b/source3/utils/nmblookup.c @@ -47,7 +47,7 @@ static bool open_sockets(void) if (!interpret_string_addr(&ss, sock_addr, AI_NUMERICHOST|AI_PASSIVE)) { DEBUG(0,("open_sockets: unable to get socket address " - "from string %s", sock_addr)); + "from string %s\n", sock_addr)); return false; } ServerFD = open_socket_in( diff --git a/source3/utils/ntlm_auth.c b/source3/utils/ntlm_auth.c index cff3c53845f..f0f7345d62f 100644 --- a/source3/utils/ntlm_auth.c +++ b/source3/utils/ntlm_auth.c @@ -196,7 +196,7 @@ static void manage_gensec_get_pw_request(enum stdio_helper_mode stdio_helper_mod { DATA_BLOB in; if (strlen(buf) < 2) { - DEBUG(1, ("query [%s] invalid", buf)); + DEBUG(1, ("query [%s] invalid\n", buf)); printf("BH Query invalid\n"); return; } @@ -1484,7 +1484,7 @@ static void manage_gensec_request(enum stdio_helper_mode stdio_helper_mode, } if (strlen(buf) < 2) { - DEBUG(1, ("query [%s] invalid", buf)); + DEBUG(1, ("query [%s] invalid\n", buf)); printf("BH Query invalid\n"); talloc_free(mem_ctx); return;