freebsd-skq/sbin/dmesg
Ian Dowse 59f256ec35 Don't print the oldest line in the message buffer if the buffer is
full, since that line is almost always incomplete. Make the parsing
of <%d> lines more strict.

Also simplify the logic a little:
 - Start off by making the buffer linear so that we don't have to
   deal with it wrapping around (suggested by bde).
 - Process line by line rather than byte at a time.
2004-02-05 21:07:50 +00:00
..
dmesg.8 s/filesystem/file system/g as discussed on -developers 2002-08-21 18:11:48 +00:00
dmesg.c Don't print the oldest line in the message buffer if the buffer is 2004-02-05 21:07:50 +00:00
Makefile These are WARNS=2 clean, try to keep them that way. 2003-02-23 13:25:02 +00:00