summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>1998-12-14 21:48:10 +0000
committermillert <millert@openbsd.org>1998-12-14 21:48:10 +0000
commit6d0299d87d0d03a82697d401d14d88f032f94bb7 (patch)
tree2425a7b6375577b5a94143e2d60e6088f742a8f7
parentss20 machines which claim to have SBUS_BURST_64 are lying (diff)
downloadwireguard-openbsd-6d0299d87d0d03a82697d401d14d88f032f94bb7.tar.xz
wireguard-openbsd-6d0299d87d0d03a82697d401d14d88f032f94bb7.zip
pasto that caused goal and max params not to work
-rw-r--r--usr.bin/fmt/fmt.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/fmt/fmt.c b/usr.bin/fmt/fmt.c
index 8cfef155ac4..ee97ee2d7d8 100644
--- a/usr.bin/fmt/fmt.c
+++ b/usr.bin/fmt/fmt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fmt.c,v 1.11 1998/04/25 23:07:16 millert Exp $ */
+/* $OpenBSD: fmt.c,v 1.12 1998/12/14 21:48:10 millert Exp $ */
/* Sensible version of fmt
*
@@ -168,7 +168,7 @@
#ifndef lint
static const char rcsid[] =
- "$OpenBSD: fmt.c,v 1.11 1998/04/25 23:07:16 millert Exp $";
+ "$OpenBSD: fmt.c,v 1.12 1998/12/14 21:48:10 millert Exp $";
static const char copyright[] =
"Copyright (c) 1997 Gareth McCaughan. All rights reserved.\n";
#endif /* not lint */
@@ -329,7 +329,7 @@ main(int argc, char *argv[]) {
!= 0) {
--argc; ++argv;
if (argc>0
- && (goal_length=get_positive(*argv,"max length must be positive", 0))
+ && (max_length=get_positive(*argv,"max length must be positive", 0))
!= 0) {
if (max_length<goal_length)
errx(EX_USAGE, "max length must be >= goal length");