svn commit: r320221 - head/contrib/ipfilter/tools

Cy Schubert cy at FreeBSD.org
Thu Jun 22 06:25:35 UTC 2017


Author: cy
Date: Thu Jun 22 06:25:34 2017
New Revision: 320221
URL: https://svnweb.freebsd.org/changeset/base/320221

Log:
  poolflush() has no positional arguments.

Modified:
  head/contrib/ipfilter/tools/ippool.c

Modified: head/contrib/ipfilter/tools/ippool.c
==============================================================================
--- head/contrib/ipfilter/tools/ippool.c	Thu Jun 22 05:34:41 2017	(r320220)
+++ head/contrib/ipfilter/tools/ippool.c	Thu Jun 22 06:25:34 2017	(r320221)
@@ -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)


More information about the svn-src-head mailing list