diff options
author | Kaushik BV <kaushikbv@gluster.com> | 2010-10-05 07:01:52 +0000 |
---|---|---|
committer | Vijay Bellur <vijay@dev.gluster.com> | 2010-10-05 05:47:33 -0700 |
commit | 7aec50bdad06665243a16f1ce83a03037bcd5d56 (patch) | |
tree | 7b034228b529e7bd8abe318e2f3d6609f4679ccb /cli/src/cli-cmd-parser.c | |
parent | 79db3aced2ffca84a696192343d5b811833eb671 (diff) |
mgmt/Glusterd : Reply to CLI error: graph construction
Signed-off-by: Kaushik BV <kaushikbv@gluster.com>
Signed-off-by: Vijay Bellur <vijay@dev.gluster.com>
BUG: 1159 ()
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1159
Diffstat (limited to 'cli/src/cli-cmd-parser.c')
-rw-r--r-- | cli/src/cli-cmd-parser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/src/cli-cmd-parser.c b/cli/src/cli-cmd-parser.c index d01e4f71196..7d3fa84d87c 100644 --- a/cli/src/cli-cmd-parser.c +++ b/cli/src/cli-cmd-parser.c @@ -405,7 +405,7 @@ cli_cmd_volume_set_parse (const char **words, int wordcount, dict_t **options) goto out; } - ret = dict_set_int32 (dict, "count", count); + ret = dict_set_int32 (dict, "count", wordcount-3); if (ret) goto out; |