f8c8b7ee8f
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. |
||
---|---|---|
.. | ||
ktrdump.8 | ||
ktrdump.c | ||
Makefile |