diff options
author | Patrick Matthäi <pmatthaei@debian.org> | 2017-03-31 12:27:20 +0200 |
---|---|---|
committer | Jeff Darcy <jeff@pl.atyp.us> | 2017-04-02 20:26:59 -0400 |
commit | cdddb819b964eff0268498e8bfa0e67c77782094 (patch) | |
tree | cc008edf9577c3801ab494aafa662d56dbd09ef4 | |
parent | 64fc3505c426d1ff9fc16f065a81556e96ed93b7 (diff) |
build: miscellaneous spelling fixes
Debian builds detected spelling issues with GlusterFS 3.10.1. Instead of
carrying the patch in the Debian sources, let's include the fixes here
too.
Change-Id: I38db6adf142f7ec247bffd47aa1e6ff1a0c49e00
Reported-by: Patrick Matthäi <pmatthaei@debian.org>
BUG: 1437853
Signed-off-by: Niels de Vos <ndevos@redhat.com>
Reviewed-on: https://review.gluster.org/16973
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
Smoke: Gluster Build System <jenkins@build.gluster.org>
Reviewed-by: Raghavendra G <rgowdapp@redhat.com>
-rw-r--r-- | cli/src/cli.c | 2 | ||||
-rw-r--r-- | xlators/cluster/ec/src/ec-code.c | 2 | ||||
-rw-r--r-- | xlators/performance/md-cache/src/md-cache.c | 2 |
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; |