From d652681e8a53a767843ab55a3636d77e183e53f9 Mon Sep 17 00:00:00 2001
From: Michael Adam <obnox@samba.org>
Date: Sat, 9 Nov 2013 13:26:43 +0100
Subject: log: remove extra newline characters in log messages.

Signed-off-by: Michael Adam <obnox@samba.org>
---
 src/log.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/log.c b/src/log.c
index e0f3567..ba871b2 100644
--- a/src/log.c
+++ b/src/log.c
@@ -258,10 +258,10 @@ int setup_logging (void)
                         config.syslog = TRUE;
 
                         log_message (LOG_CRIT, "ERROR: Could not create log "
-                                     "file %s: %s.\n",
+                                     "file %s: %s.",
                                      config.logf_name, strerror (errno));
                         log_message (LOG_CRIT,
-                                     "Falling back to syslog logging\n");
+                                     "Falling back to syslog logging.");
                 }
         }
 
-- 
cgit v1.2.3