Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Jun 2017 06:25:34 +0000 (UTC)
From:      Cy Schubert <cy@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r320221 - head/contrib/ipfilter/tools
Message-ID:  <201706220625.v5M6PYk6063786@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201706220625.v5M6PYk6063786>