From d400d7f9ac67640df22ee971b802dc9c981b9f04 Mon Sep 17 00:00:00 2001 From: Ian Barwick Date: Wed, 24 Feb 2016 15:33:36 +0900 Subject: [PATCH] repmgrd: fix error message --- repmgrd.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/repmgrd.c b/repmgrd.c index bb4d3d06..8600a660 100644 --- a/repmgrd.c +++ b/repmgrd.c @@ -393,8 +393,8 @@ main(int argc, char **argv) local_options.cluster_name); master_conn = get_master_connection(my_local_conn, - local_options.cluster_name, - &master_options.node, NULL); + local_options.cluster_name, + &master_options.node, NULL); if (master_conn == NULL) { @@ -402,8 +402,7 @@ main(int argc, char **argv) initPQExpBuffer(&errmsg); appendPQExpBuffer(&errmsg, - _("unable to connect to master node '%s'"), - master_options.node_name); + _("unable to connect to master node")); log_err("%s\n", errmsg.data);