[PATCH] smbd: add missing newline to debug message in daemon_status()

Justin Maggard jmaggard10 at gmail.com
Thu Sep 7 18:05:45 UTC 2017


Signed-off-by: Justin Maggard <jmaggard at netgear.com>
---
 lib/util/become_daemon.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/util/become_daemon.c b/lib/util/become_daemon.c
index 22c1778d4a4..232eda69b64 100644
--- a/lib/util/become_daemon.c
+++ b/lib/util/become_daemon.c
@@ -146,5 +146,5 @@ void daemon_status(const char *daemon, const char *msg)
 #if defined(HAVE_LIBSYSTEMD_DAEMON) || defined(HAVE_LIBSYSTEMD)
 	sd_notifyf(0, "\nSTATUS=%s: %s", daemon, msg);
 #endif
-	DBG_ERR("STATUS=daemon '%s' : %s", daemon, msg);
+	DBG_ERR("STATUS=daemon '%s' : %s\n", daemon, msg);
 }
-- 
2.14.1




More information about the samba-technical mailing list