Patchwork [BUG:1539] Typo in log msg for volume create localhost

login
register
Submitter shishir gowda
Date 2010-09-07 05:29:48
Message ID <20100907052948.GA29163@dev.gluster.com>
Download mbox | patch
Permalink /patch/4614/
State Accepted
Headers show

Comments

shishir gowda - 2010-09-07 05:29:48
Signed-off-by: shishir gowda <shishirng@gluster.com>
---
 cli/src/cli-cmd-parser.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

diff --git a/cli/src/cli-cmd-parser.c b/cli/src/cli-cmd-parser.c
index 41c1cc0..daec9c8 100644
--- a/cli/src/cli-cmd-parser.c
+++ b/cli/src/cli-cmd-parser.c
@@ -211,7 +211,7 @@  cli_cmd_volume_create_parse (const char **words, int wordcount, dict_t **options
                 if (!(strcmp(host_name, "localhost") &&
                       strcmp (host_name, "127.0.0.1"))) {
                         cli_out ("Please provide a valid hostname/ip other "
-                                 "localhost or 127.0.0.1");
+                                 "than localhost or 127.0.0.1");
                         ret = -1;
                         GF_FREE(freeptr);
                         goto out;