aboutsummaryrefslogtreecommitdiff
path: root/contrib/ipfilter
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2017-06-22 06:25:34 +0000
committerCy Schubert <cy@FreeBSD.org>2017-06-22 06:25:34 +0000
commit3f296d78cc06489bec4546959b8b66644a6efe70 (patch)
treea4cfdadf422ce720fa830b7feaced78c858f7be9 /contrib/ipfilter
parent210ecc00213aca4682de305caa8cd84c834fa431 (diff)
downloadsrc-3f296d78cc06489bec4546959b8b66644a6efe70.tar.gz
src-3f296d78cc06489bec4546959b8b66644a6efe70.zip
poolflush() has no positional arguments.
Notes
Notes: svn path=/head/; revision=320221
Diffstat (limited to 'contrib/ipfilter')
-rw-r--r--contrib/ipfilter/tools/ippool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/ipfilter/tools/ippool.c b/contrib/ipfilter/tools/ippool.c
index d326ec094208..b0466b110af2 100644
--- a/contrib/ipfilter/tools/ippool.c
+++ b/contrib/ipfilter/tools/ippool.c
@@ -583,7 +583,7 @@ poolflush(argc, argv)
break; /* keep compiler happy */
}
- if (argc - 1 - optind > 0)
+ if (argc - optind > 0)
usage(argv[0]);
if (opts & OPT_DEBUG)