From owner-cvs-sbin Sat Sep 21 01:11:56 1996 Return-Path: owner-cvs-sbin Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id BAA21672 for cvs-sbin-outgoing; Sat, 21 Sep 1996 01:11:56 -0700 (PDT) Received: (from bde@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id BAA21529; Sat, 21 Sep 1996 01:11:32 -0700 (PDT) Date: Sat, 21 Sep 1996 01:11:32 -0700 (PDT) From: Bruce Evans Message-Id: <199609210811.BAA21529@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sbin Subject: cvs commit: src/sbin/dmesg dmesg.c Sender: owner-cvs-sbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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