svn commit: r261501 - head/usr.sbin/config
Warner Losh
imp at FreeBSD.org
Wed Feb 5 00:26:12 UTC 2014
Author: imp
Date: Wed Feb 5 00:26:11 2014
New Revision: 261501
URL: http://svnweb.freebsd.org/changeset/base/261501
Log:
Fix ! by not clearing not at the bottom of the loop.
Add a blank line
Submitted by: bde (blank line)
Modified:
head/usr.sbin/config/mkmakefile.c
Modified: head/usr.sbin/config/mkmakefile.c
==============================================================================
--- head/usr.sbin/config/mkmakefile.c Tue Feb 4 22:20:17 2014 (r261500)
+++ head/usr.sbin/config/mkmakefile.c Wed Feb 5 00:26:11 2014 (r261501)
@@ -63,6 +63,7 @@ static void read_files(void);
static void errout(const char *fmt, ...)
{
va_list ap;
+
va_start(ap, fmt);
vfprintf(stderr, fmt, ap);
va_end(ap);
@@ -480,8 +481,7 @@ next:
if (op->op_value == 0 && opteq(op->op_name, wd))
goto nextparam;
match = 0;
-nextparam:
- not = 0;
+nextparam:;
}
if (not)
compile += !match;
More information about the svn-src-head
mailing list