diff options
author | imp <imp@FreeBSD.org> | 2014-02-05 00:26:11 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2014-02-05 00:26:11 +0000 |
commit | 11e536cc2db21240c11ed703049bd38778a6a087 (patch) | |
tree | c28129dfad07be273d62447a9ec9744eb14f47b5 /usr.sbin/config | |
parent | 9183076fea2c05d13e46a66397d670f2ca819710 (diff) | |
download | FreeBSD-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)
Diffstat (limited to 'usr.sbin/config')
-rw-r--r-- | usr.sbin/config/mkmakefile.c | 4 |
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; |