DragonFly BSD
DragonFly commits List (threaded) for 2006-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/sys/kern kern_ktr.c


From: Sascha Wildner <swildner@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 25 Mar 2006 13:28:07 -0800 (PST)

swildner    2006/03/25 13:28:07 PST

DragonFly src repository

  Modified files:
    sys/kern             kern_ktr.c 
  Log:
  KTR_VERBOSE's logging was being done outside 'if (ktr_buf[cpu]) {'
  but actually didn't make sense there. If ktr_buf is empty, there's
  nothing to log and entry is not initialized.
  
  Instead, do an early return when ktr_buf[cpu] is empty.
  
  Revision  Changes    Path
  1.13      +21 -20    src/sys/kern/kern_ktr.c


http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_ktr.c.diff?r1=1.12&r2=1.13&f=u



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]