git: dmesg - Don't fail when the kernel is adding to the dmesg quickly

Matthew Dillon dillon at crater.dragonflybsd.org
Tue Nov 29 13:43:55 PST 2011


commit 35bb81cee37e18ff19a165bb1ec20e52fadbe0b9
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Tue Nov 29 13:41:54 2011 -0800

    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.

Summary of changes:
 sbin/dmesg/dmesg.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/35bb81cee37e18ff19a165bb1ec20e52fadbe0b9


-- 
DragonFly BSD source repository





More information about the Commits mailing list