diff options
author | AkshataDM <oxta28@gmail.com> | 2014-03-15 23:33:38 +0530 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2014-03-16 11:57:21 -0700 |
commit | 9565ac3328dc91bd721a65b6d4e7957929e9ed59 (patch) | |
tree | 41295e4564d44e2d5f5e34914b786b1568860207 /cli | |
parent | 79d2a9e5b83b4d773e5b821c5c55f24718745cb7 (diff) |
Made spelling changes to 19 files
Change-Id: If91cf44578fe0b5176ea01ae5c5962e31606f640
BUG: 1075417
Signed-off-by: AkshataDM <oxta28@gmail.com>
Reviewed-on: http://review.gluster.org/7280
Reviewed-by: Varun Shastry <vshastry@redhat.com>
Reviewed-by: Anand Avati <avati@redhat.com>
Tested-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'cli')
-rw-r--r-- | cli/src/cli-cmd-volume.c | 4 | ||||
-rw-r--r-- | cli/src/cli-rpc-ops.c | 14 |
2 files changed, 9 insertions, 9 deletions
diff --git a/cli/src/cli-cmd-volume.c b/cli/src/cli-cmd-volume.c index 8d80aaeb3cc..e334ddc8443 100644 --- a/cli/src/cli-cmd-volume.c +++ b/cli/src/cli-cmd-volume.c @@ -992,7 +992,7 @@ cli_cmd_volume_add_brick_cbk (struct cli_state *state, } /* TODO: there are challenges in supporting changing of - stripe-count, untill it is properly supported give warning to user */ + stripe-count, until it is properly supported give warning to user */ if (dict_get (options, "stripe-count")) { answer = cli_cmd_get_confirmation (state, question); @@ -1450,7 +1450,7 @@ cli_cmd_quota_cbk (struct cli_state *state, struct cli_cmd_word *word, goto out; } - //create auxillary mount need for quota commands that operate on path + //create auxiliary mount need for quota commands that operate on path ret = cli_stage_quota_op (volname, type); if (ret) goto out; diff --git a/cli/src/cli-rpc-ops.c b/cli/src/cli-rpc-ops.c index bef70357ae3..239a29ba831 100644 --- a/cli/src/cli-rpc-ops.c +++ b/cli/src/cli-rpc-ops.c @@ -1686,7 +1686,7 @@ gf_cli_set_volume_cbk (struct rpc_req *req, struct iovec *iov, ret = dict_unserialize (rsp.dict.dict_val, rsp.dict.dict_len, &dict); /* For brick processes graph change does not happen on the fly. - * The proces has to be restarted. So this is a check from the + * The process has to be restarted. So this is a check from the * volume set option such that if debug xlators such as trace/errorgen * are provided in the set command, warn the user. */ @@ -4201,7 +4201,7 @@ write_contents_to_common_pem_file (dict_t *dict, int output_count) char common_pem_file[PATH_MAX] = ""; char *output = NULL; char output_name[PATH_MAX] = ""; - int bytes_writen = 0; + int bytes_written = 0; int fd = -1; int ret = -1; int i = -1; @@ -4239,16 +4239,16 @@ write_contents_to_common_pem_file (dict_t *dict, int output_count) cli_out ("Unable to fetch output."); } if (output) { - bytes_writen = write (fd, output, strlen(output)); - if (bytes_writen != strlen(output)) { + bytes_written = write (fd, output, strlen(output)); + if (bytes_written != strlen(output)) { gf_log ("", GF_LOG_ERROR, "Failed to write " "to %s", common_pem_file); ret = -1; goto out; } /* Adding the new line character */ - bytes_writen = write (fd, "\n", strlen("\n")); - if (bytes_writen != strlen("\n")) { + bytes_written = write (fd, "\n", strlen("\n")); + if (bytes_written != strlen("\n")) { gf_log ("", GF_LOG_ERROR, "Failed to add new line char"); ret = -1; @@ -6621,7 +6621,7 @@ gf_cli_status_cbk (struct rpc_req *req, struct iovec *iov, if (ret) continue; - /* Brick/not-brick is handled seperately here as all + /* Brick/not-brick is handled separately here as all * types of nodes are contained in the default output */ memset (status.brick, 0, PATH_MAX + 255); |