1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-12 14:29:28 +00:00
freebsd/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
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