summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/arguments.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2020-05-25 18:17:15 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2020-05-25 18:17:15 +0000
commit2bfac6f56290229136501d06294a5b7b75e7a081 (patch)
tree3eb4c3e3fcd69c7054d1d0560929bbb978301816 /usr.bin/tmux/arguments.c
parent35c20dee5d85c5d6f1dfa80731418027ad6dbc90 (diff)
Fix some error strings, from Kris Katterjohn.
Diffstat (limited to 'usr.bin/tmux/arguments.c')
-rw-r--r--usr.bin/tmux/arguments.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/tmux/arguments.c b/usr.bin/tmux/arguments.c
index 24a70ee1b5e..da92c77efd3 100644
--- a/usr.bin/tmux/arguments.c
+++ b/usr.bin/tmux/arguments.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: arguments.c,v 1.32 2020/05/16 15:40:04 nicm Exp $ */
+/* $OpenBSD: arguments.c,v 1.33 2020/05/25 18:17:14 nicm Exp $ */
/*
* Copyright (c) 2010 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -407,11 +407,11 @@ args_string_percentage(const char *value, long long minval, long long maxval,
}
ll = (curval * ll) / 100;
if (ll < minval) {
- *cause = xstrdup("too large");
+ *cause = xstrdup("too small");
return (0);
}
if (ll > maxval) {
- *cause = xstrdup("too small");
+ *cause = xstrdup("too large");
return (0);
}
} else {