From 170f519d8448f97490cba1f71d4299e9fd0a2592 Mon Sep 17 00:00:00 2001 From: Jaime Casanova Date: Wed, 29 Dec 2010 00:45:33 -0500 Subject: [PATCH] Fixing a message, shouldn't show progname in the middle of a line. Is one message not two. --- repmgrd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/repmgrd.c b/repmgrd.c index b7e0d1b5..d44c8a79 100644 --- a/repmgrd.c +++ b/repmgrd.c @@ -235,8 +235,8 @@ MonitorExecute(void) } if (PQstatus(primaryConn) != CONNECTION_OK) { - fprintf(stderr, "\n%s: We couldn't reconnect to master, checking if ", progname); - fprintf(stderr, "%s: another node has been promoted.\n", progname); + fprintf(stderr, "\n%s: We couldn't reconnect to master, checking if " + "another node has been promoted.\n", progname); for (connection_retries = 0; connection_retries < 6; connection_retries++) { primaryConn = getMasterConnection(myLocalConn, myLocalId, myClusterName, &primaryId);