From 8b370dc58163956e8c42ab74ecdaec7de28cd11d Mon Sep 17 00:00:00 2001 From: Jaime Casanova Date: Sat, 7 Dec 2013 13:25:46 -0500 Subject: [PATCH] Fix some typos MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Patch by Krzysztof Gajdemski --- repmgr.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/repmgr.c b/repmgr.c index aa27713f..a20c159b 100644 --- a/repmgr.c +++ b/repmgr.c @@ -396,7 +396,7 @@ do_cluster_show(void) if (PQresultStatus(res) != PGRES_TUPLES_OK) { - log_err(_("Can't get nodes informations, have you regitered them?\n%s\n"), PQerrorMessage(conn)); + log_err(_("Can't get nodes information, have you registered them?\n%s\n"), PQerrorMessage(conn)); PQclear(res); PQfinish(conn); exit(ERR_BAD_CONFIG); @@ -952,7 +952,7 @@ do_standby_clone(void) } PQclear(res); - log_info(_("Succesfully connected to primary. Current installation size is %s\n"), get_cluster_size(conn)); + log_info(_("Successfully connected to primary. Current installation size is %s\n"), get_cluster_size(conn)); /* * XXX master_xlog_directory should be discovered from master configuration @@ -1535,7 +1535,7 @@ do_witness_create(void) exit(ERR_BAD_CONFIG); } - log_info(_("Succesfully connected to primary.\n")); + log_info(_("Successfully connected to primary.\n")); r = test_ssh_connection(runtime_options.host, runtime_options.remote_user); if (r != 0) @@ -1672,7 +1672,7 @@ do_witness_create(void) PQfinish(masterconn); PQfinish(witnessconn); - log_notice(_("Configuration has been succesfully copied to the witness\n")); + log_notice(_("Configuration has been successfully copied to the witness\n")); } @@ -1724,7 +1724,7 @@ help(const char *progname) printf(_(" standby promote - allows manual promotion of a specific standby into a ")); printf(_("new master in the event of a failover\n")); printf(_(" standby follow - allows the standby to re-point itself to a new master\n")); - printf(_(" cluster show - print node informations\n")); + printf(_(" cluster show - print node information\n")); printf(_(" cluster cleanup - cleans monitor's history\n")); }