dmesg - Don't fail when the kernel is adding to the dmesg quickly
authorMatthew Dillon <dillon@apollo.backplane.com>
Tue, 29 Nov 2011 21:41:54 +0000 (13:41 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Tue, 29 Nov 2011 21:41:54 +0000 (13:41 -0800)
commit35bb81cee37e18ff19a165bb1ec20e52fadbe0b9
treedae9a75ca94b81bcfb6f0c300fcb0f66a65be4a5
parentd2e9c9d8664f753a0d599eceed1dd98ffa7ef479
dmesg - Don't fail when the kernel is adding to the dmesg quickly

* If the kernel is quickly adding to the dmesg buffer and has not started
  recycling the FIFO the increasing size of the buffer will exceed the
  probed size.

* Add another 4K to the probed size to try to deal with this case.
sbin/dmesg/dmesg.c