Date: Wed, 5 Feb 2014 00:26:12 +0000 (UTC) From: Warner Losh <imp@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r261501 - head/usr.sbin/config Message-ID: <201402050026.s150QC8f037247@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402050026.s150QC8f037247>