From c79933685c1e5abc035ec0fc528dce78afbd3a23 Mon Sep 17 00:00:00 2001 From: Ian Barwick Date: Wed, 11 May 2016 21:47:40 +0900 Subject: [PATCH] Add missing newlines in log messages --- dbutils.c | 2 +- repmgrd.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dbutils.c b/dbutils.c index 243231cb..d996e46c 100644 --- a/dbutils.c +++ b/dbutils.c @@ -612,7 +612,7 @@ get_upstream_connection(PGconn *standby_conn, char *cluster, int node_id, if (!PQntuples(res)) { - log_notice(_("no record found for upstream server")); + log_notice(_("no record found for upstream server\n")); PQclear(res); return NULL; } diff --git a/repmgrd.c b/repmgrd.c index 5381d3a4..2fd7b4fd 100644 --- a/repmgrd.c +++ b/repmgrd.c @@ -1701,7 +1701,7 @@ do_upstream_standby_failover(t_node_info upstream_node) if (PQntuples(res) == 0) { - log_err(_("no node with id %i found"), upstream_node_id); + log_err(_("no node with id %i found\n"), upstream_node_id); PQclear(res); return false; }