diff options
author | bde <bde@FreeBSD.org> | 1996-09-21 08:11:22 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1996-09-21 08:11:22 +0000 |
commit | 2d23099e2834c53ac895341a401052bb28eccf72 (patch) | |
tree | 5dc562620edf39021f6fc2bf6abcc2f8eac9275a /sbin/badsect | |
parent | 52fe065ab87c1d0e777313a6b95ded2f14763119 (diff) | |
download | FreeBSD-src-2d23099e2834c53ac895341a401052bb28eccf72.zip FreeBSD-src-2d23099e2834c53ac895341a401052bb28eccf72.tar.gz |
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.
Diffstat (limited to 'sbin/badsect')
0 files changed, 0 insertions, 0 deletions