summaryrefslogtreecommitdiffstats
path: root/cli
diff options
context:
space:
mode:
Diffstat (limited to 'cli')
-rw-r--r--cli/src/cli-cmd-volume.c2
-rw-r--r--cli/src/cli-rpc-ops.c4
-rw-r--r--cli/src/cli-xml-output.c4
-rw-r--r--cli/src/cli.c2
4 files changed, 6 insertions, 6 deletions
diff --git a/cli/src/cli-cmd-volume.c b/cli/src/cli-cmd-volume.c
index ee7e8f94c9e..099ba403ee8 100644
--- a/cli/src/cli-cmd-volume.c
+++ b/cli/src/cli-cmd-volume.c
@@ -1495,7 +1495,7 @@ _limits_set_on_volume (char *volname, int type) {
else
gfid_type = GF_QUOTA_CONF_TYPE_OBJECTS;
- /* Try to read atleast one gfid of type 'gfid_type' */
+ /* Try to read at least one gfid of type 'gfid_type' */
while (1) {
ret = quota_conf_read_gfid (fd, buf, &gfid_type_stored,
version);
diff --git a/cli/src/cli-rpc-ops.c b/cli/src/cli-rpc-ops.c
index 602267b06a2..b3a35c312b8 100644
--- a/cli/src/cli-rpc-ops.c
+++ b/cli/src/cli-rpc-ops.c
@@ -3641,7 +3641,7 @@ print_quota_list_from_mountdir (cli_local_t *local, char *mountdir,
case ENOATTR:
#endif
/* If it's an ENOATTR, quota/inode-quota is
- * configured(limit is set atleast for one directory).
+ * configured(limit is set at least for one directory).
* The user is trying to issue 'list/list-objects'
* command for a directory on which quota limit is
* not set and we are showing the used-space in case
@@ -4060,7 +4060,7 @@ out:
* the results and hangs, because same thread has already holding
* the lock
*
- * Broadcasting response in a seperate thread which is not a
+ * Broadcasting response in a separate thread which is not a
* good fix. This needs to be re-visted with better solution
*/
if (ret == -1) {
diff --git a/cli/src/cli-xml-output.c b/cli/src/cli-xml-output.c
index a709ed5a6c7..ec65cd30f5e 100644
--- a/cli/src/cli-xml-output.c
+++ b/cli/src/cli-xml-output.c
@@ -42,7 +42,7 @@ enum gf_task_types {
* }
* #endif
*
- * Following the above formate ensures that all xml related code is compliled
+ * Following the above format ensures that all xml related code is compiled
* only when libxml2 is present, and also keeps the rest of the codebase free
* of #if (HAVE_LIB_XML)
*/
@@ -5082,7 +5082,7 @@ cli_xml_snapshot_info (xmlTextWriterPtr writer, xmlDocPtr doc, dict_t *dict)
snap_driven = dict_get_str_boolean (dict, "snap-driven", _gf_false);
- /* If the approach is volume based then we should display orgin volume
+ /* If the approach is volume based then we should display origin volume
* information first followed by per snap info*/
if (!snap_driven) {
ret = cli_xml_snapshot_info_orig_vol (writer, doc, dict, "");
diff --git a/cli/src/cli.c b/cli/src/cli.c
index b58f211d3dd..1ae56e8f534 100644
--- a/cli/src/cli.c
+++ b/cli/src/cli.c
@@ -416,7 +416,7 @@ cli_opt_parse (char *opt, struct cli_state *state)
}
}
else {
- cli_err ("invalide secure-mgmt value (ignored)");
+ cli_err ("invalid secure-mgmt value (ignored)");
}
return 0;
}