Date: Sun, 8 Feb 2004 15:08:53 -0800 (PST) From: Ian Dowse <iedowse@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sbin/dmesg dmesg.c Message-ID: <200402082308.i18N8rtW099707@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
iedowse 2004/02/08 15:08:53 PST FreeBSD src repository Modified files: sbin/dmesg dmesg.c Log: Further simplify the code for printing the message buffer: - Ensure that the buffer ends with "\n\0" to avoid special cases and allow the use of strtol(). - Use strvisx() on each complete line instead of character by character. Submitted by: bde MFC after: 1 week Revision Changes Path 1.22 +36 -33 src/sbin/dmesg/dmesg.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200402082308.i18N8rtW099707>