From 046d3b6851fd58693d87d411e038564599794d24 Mon Sep 17 00:00:00 2001 From: Greg Smith Date: Sun, 5 Dec 2010 19:54:56 -0500 Subject: [PATCH] Correct log message formatting --- repmgrd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/repmgrd.c b/repmgrd.c index 15304e74..42e9fe7c 100644 --- a/repmgrd.c +++ b/repmgrd.c @@ -221,8 +221,8 @@ MonitorExecute(void) } if (PQstatus(primaryConn) != CONNECTION_OK) { - fprintf(stderr, "\n%s: We couldn't reconnect to master, searching if ", progname); - fprintf(stderr, "another node has been promoted.\n", progname); + fprintf(stderr, "\n%s: We couldn't reconnect to master, checking if ", progname); + fprintf(stderr, "%s: another node has been promoted.\n", progname); for (connection_retries = 0; connection_retries < 6; connection_retries++) { primaryConn = getMasterConnection(myLocalConn, myLocalId, myClusterName, &primaryId);