From 8f4aaae28c88c707853f8f28d8babc4efe0c1bf6 Mon Sep 17 00:00:00 2001 From: Martin Nagy Date: Wed, 3 Mar 2010 08:33:22 +0100 Subject: Add forgotten \n in DEBUG statements Logs from confdb with missing '\n' in the DEBUG statements annoyed me so I decided to fix them. I also made a quick grep through the code and found other places so I fixed them too. --- src/monitor/monitor.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/monitor') diff --git a/src/monitor/monitor.c b/src/monitor/monitor.c index 71b602a2..0f9fb95e 100644 --- a/src/monitor/monitor.c +++ b/src/monitor/monitor.c @@ -344,7 +344,7 @@ static int mark_service_as_started(struct mt_svc *svc) /* check if all providers are up */ for (iter = ctx->svc_list; iter; iter = iter->next) { if (iter->provider && !iter->svc_started) { - DEBUG(5, ("Still waiting on %s provider.", iter->name)); + DEBUG(5, ("Still waiting on %s provider.\n", iter->name)); break; } } @@ -1311,7 +1311,7 @@ static void config_file_changed(struct tevent_context *ev, te = tevent_add_timer(ev, ev, tv, process_config_file, file_ctx); if (!te) { - DEBUG(0, ("Unable to queue config file update! Exiting.")); + DEBUG(0, ("Unable to queue config file update! Exiting.\n")); kill(getpid(), SIGTERM); return; } @@ -1533,7 +1533,7 @@ static void poll_config_file(struct tevent_context *ev, file_ctx->timer = tevent_add_timer(ev, file_ctx->parent_ctx, tv, poll_config_file, file_ctx); if (!file_ctx->timer) { - DEBUG(0, ("Error: Config file no longer monitored for changes!")); + DEBUG(0, ("Error: Config file no longer monitored for changes!\n")); } } -- cgit