freebsd-dev/usr.bin/ktrdump
Neel Natu f8c8b7ee8f Fix an issue with ktrdump(8) where it would not print all entries in the
KTR buffer.

This happens when 'i' tries to wrap around from 0 to 'entries - 1'. Since 'i'
is a signed integer the modulo operation actually returns a negative number.

Fix this by computing the next index to use "by hand" instead of relying
on the modulo operator.
2014-03-14 21:35:16 +00:00
..
ktrdump.8 Add -H flag to print thread id. 2011-01-26 06:36:14 +00:00
ktrdump.c Fix an issue with ktrdump(8) where it would not print all entries in the 2014-03-14 21:35:16 +00:00
Makefile Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00