summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cli/src/cli.c2
-rw-r--r--xlators/cluster/ec/src/ec-code.c2
-rw-r--r--xlators/performance/md-cache/src/md-cache.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/cli/src/cli.c b/cli/src/cli.c
index 2a7810d9743..25fe58568a5 100644
--- a/cli/src/cli.c
+++ b/cli/src/cli.c
@@ -380,7 +380,7 @@ cli_opt_parse (char *opt, struct cli_state *state)
oarg = strtail (opt, "timeout=");
if (oarg) {
if (!is_valid_int (oarg) || atoi(oarg) <= 0) {
- cli_err ("timeout value should be a postive integer");
+ cli_err ("timeout value should be a positive integer");
return -2; /* -2 instead of -1 to avoid unknown option
error */
}
diff --git a/xlators/cluster/ec/src/ec-code.c b/xlators/cluster/ec/src/ec-code.c
index 7b5d53d0a37..44957dd788f 100644
--- a/xlators/cluster/ec/src/ec-code.c
+++ b/xlators/cluster/ec/src/ec-code.c
@@ -1032,7 +1032,7 @@ ec_code_detect(xlator_t *xl, const char *def)
if (file.error) {
gf_msg(xl->name, GF_LOG_WARNING, 0, EC_MSG_EXTENSION_FAILED,
- "Unable to detemine supported CPU extensions. Not using any "
+ "Unable to determine supported CPU extensions. Not using any "
"cpu extensions");
gen = NULL;
diff --git a/xlators/performance/md-cache/src/md-cache.c b/xlators/performance/md-cache/src/md-cache.c
index eb1032b3c91..b6969cda56e 100644
--- a/xlators/performance/md-cache/src/md-cache.c
+++ b/xlators/performance/md-cache/src/md-cache.c
@@ -682,7 +682,7 @@ mdc_inode_xatt_set (xlator_t *this, inode_t *inode, dict_t *dict)
LOCK (&mdc->lock);
{
if (mdc->xattr) {
- gf_msg_trace ("md-cache", 0, "deleteing the old xattr "
+ gf_msg_trace ("md-cache", 0, "deleting the old xattr "
"cache (%s)", uuid_utoa (inode->gfid));
dict_unref (mdc->xattr);
mdc->xattr = NULL;