Correct log message formatting

This commit is contained in:
Greg Smith
2010-12-05 19:54:56 -05:00
parent 8d84d165ef
commit 046d3b6851

View File

@@ -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);