Date: Mon, 08 Dec 2003 13:18:03 +0100 From: des@des.no (Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?=) To: Bruce Evans <bde@zeta.org.au> Cc: src-committers@FreeBSD.org Subject: Re: cvs commit: src/usr.bin/vmstat vmstat.c Message-ID: <xzpy8tn5wqs.fsf@dwp.des.no> In-Reply-To: <20031208225505.H6229@gamplex.bde.org> (Bruce Evans's message of "Mon, 8 Dec 2003 23:13:53 %2B1100 (EST)") References: <200312080757.hB87vvTA048651@repoman.freebsd.org> <20031208225505.H6229@gamplex.bde.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Bruce Evans <bde@zeta.org.au> writes: > for (i =3D 0; i < nintr; i++) { > clen =3D strlen(tintrname); > + > + /* Work around bogus padding in new interrupt code. */ > + while (clen > 0 && tintrname[clen - 1] =3D=3D ' ') > + clen--; > + > if (clen > istrnamlen) > istrnamlen =3D clen; > tintrname +=3D clen + 1; > } This is wrong. You can't possibly have tested it. DES --=20 Dag-Erling Sm=F8rgrav - des@des.no
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzpy8tn5wqs.fsf>