summaryrefslogtreecommitdiffstats
path: root/cli
diff options
context:
space:
mode:
authorPatrick Matthäi <pmatthaei@debian.org>2017-03-31 12:27:20 +0200
committerKaleb KEITHLEY <kkeithle@redhat.com>2017-04-02 21:36:51 -0400
commit826152055ff732b9c71f7766e0e197263b9fce95 (patch)
tree803a60c958ca33454aa6472b7d338a096a63f97c /cli
parentdc4aa17e617b21d9faa00dc5048e3396bde63d95 (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 Reviewed-on-master: https://review.gluster.org/16973 Reported-by: Patrick Matthäi <pmatthaei@debian.org> BUG: 1437854 Signed-off-by: Niels de Vos <ndevos@redhat.com> Reviewed-on: https://review.gluster.org/16974 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: Zhou Zhengping <johnzzpcrystal@gmail.com> Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com>
Diffstat (limited to 'cli')
-rw-r--r--cli/src/cli.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/src/cli.c b/cli/src/cli.c
index 1710724abd6..c9c578f253c 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 */
}