Date: Sat, 21 Sep 1996 01:11:32 -0700 (PDT) From: Bruce Evans <bde> To: CVS-committers, cvs-all, cvs-sbin Subject: cvs commit: src/sbin/dmesg dmesg.c Message-ID: <199609210811.BAA21529@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
bde 96/09/21 01:11:30
Modified: sbin/dmesg dmesg.c
Log:
Who would have though that dmesg didn't understand message buffers?
Fixed the following bugs:
- the buffer was reprinted endlessly when msg.bufx == 0 and (for a
different reason) when msg.bufx == 1.
- the last byte of the buffer wasn't printed except in the the infinite
loop cases.
- the comment about walking the buffer didn't match the (correct) code.
- minor -Wall and style bugs.
Not fixed:
- excessive newline processing which hid the non-printing of the last
byte of the buffer.
Revision Changes Path
1.4 +16 -8 src/sbin/dmesg/dmesg.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199609210811.BAA21529>
