From 11e536cc2db21240c11ed703049bd38778a6a087 Mon Sep 17 00:00:00 2001 From: imp Date: Wed, 5 Feb 2014 00:26:11 +0000 Subject: Fix ! by not clearing not at the bottom of the loop. Add a blank line Submitted by: bde (blank line) --- usr.sbin/config/mkmakefile.c | 4 ++-- 1 file 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; -- cgit v1.1