From 138935bf8d4b37e094c08eea7a20efc0553e9694 Mon Sep 17 00:00:00 2001 From: Kaleb S KEITHLEY Date: Tue, 17 May 2016 09:22:43 -0400 Subject: core: assorted typos and spelling mistakes reported by Debian lintian MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Also missing bang (!) in #!/bin/bash in shell scripts. Change-Id: I567a4be8f0f31f6285550f243fe802895f6bc43b BUG: 1336793 Reported-by: Patrick Matthäi Signed-off-by: Kaleb S KEITHLEY Reviewed-on: http://review.gluster.org/14398 NetBSD-regression: NetBSD Build System Reviewed-by: Niels de Vos Smoke: Gluster Build System Reviewed-by: Kotresh HR CentOS-regression: Gluster Build System --- cli/src/cli-cmd-parser.c | 2 +- cli/src/cli-rpc-ops.c | 2 +- cli/src/cli-xml-output.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'cli') diff --git a/cli/src/cli-cmd-parser.c b/cli/src/cli-cmd-parser.c index 59c27b87f48..6b2d6dfe7da 100644 --- a/cli/src/cli-cmd-parser.c +++ b/cli/src/cli-cmd-parser.c @@ -2448,7 +2448,7 @@ parse_ssh_port (const char **words, int wordcount, dict_t *dict, if (errno == ERANGE || errno == EINVAL || limit <= 0 || strcmp (end_ptr, "") != 0) { ret = -1; - cli_err ("Please enter an interger value for ssh_port "); + cli_err ("Please enter an integer value for ssh_port "); goto out; } diff --git a/cli/src/cli-rpc-ops.c b/cli/src/cli-rpc-ops.c index 88c01ee790e..3892aabaab8 100644 --- a/cli/src/cli-rpc-ops.c +++ b/cli/src/cli-rpc-ops.c @@ -4591,7 +4591,7 @@ gf_cli_attach_tier (call_frame_t *frame, xlator_t *this, notify_cli: if (ret) { cli_out ("Failed to run tier start. Please execute tier start " - "command explictly"); + "command explicitly"); cli_out ("Usage : gluster volume rebalance tier " "start"); } diff --git a/cli/src/cli-xml-output.c b/cli/src/cli-xml-output.c index 439c3047e31..3d6545c6fed 100644 --- a/cli/src/cli-xml-output.c +++ b/cli/src/cli-xml-output.c @@ -5618,7 +5618,7 @@ cli_xml_snapshot_config (xmlTextWriterPtr writer, xmlDocPtr doc, dict_t *dict) } break; default: - gf_log ("cli", GF_LOG_ERROR, "Uknown config command :%d", + gf_log ("cli", GF_LOG_ERROR, "Unknown config command :%d", config_command); ret = -1; goto out; -- cgit