cvs commit: src/sys/kern kern_ktr.c

Sascha Wildner swildner at
Sat Mar 25 13:28:31 PST 2006

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

DragonFly src repository

  Modified files:
    sys/kern             kern_ktr.c 
  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

More information about the Commits mailing list