summaryrefslogtreecommitdiffstats
path: root/cli/src
diff options
context:
space:
mode:
authorPatrick Matthäi <pmatthaei@debian.org>2017-03-31 12:27:20 +0200
committerJeff Darcy <jeff@pl.atyp.us>2017-04-02 20:26:59 -0400
commitcdddb819b964eff0268498e8bfa0e67c77782094 (patch)
treecc008edf9577c3801ab494aafa662d56dbd09ef4 /cli/src
parent64fc3505c426d1ff9fc16f065a81556e96ed93b7 (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>
Diffstat (limited to 'cli/src')
-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 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 */
}