summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2014-02-05 00:26:11 +0000
committerimp <imp@FreeBSD.org>2014-02-05 00:26:11 +0000
commit11e536cc2db21240c11ed703049bd38778a6a087 (patch)
treec28129dfad07be273d62447a9ec9744eb14f47b5
parent9183076fea2c05d13e46a66397d670f2ca819710 (diff)
downloadFreeBSD-src-11e536cc2db21240c11ed703049bd38778a6a087.zip
FreeBSD-src-11e536cc2db21240c11ed703049bd38778a6a087.tar.gz
Fix ! by not clearing not at the bottom of the loop.
Add a blank line Submitted by: bde (blank line)
-rw-r--r--usr.sbin/config/mkmakefile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/config/mkmakefile.c b/usr.sbin/config/mkmakefile.c
index 31681a8..cae2efc 100644
--- a/usr.sbin/config/mkmakefile.c
+++ b/usr.sbin/config/mkmakefile.c
@@ -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;
OpenPOWER on IntegriCloud