Fix DDB's 'show ktr' command - improper panic and improper scan
authorMatthew Dillon <dillon@apollo.backplane.com>
Fri, 27 Mar 2009 16:00:05 +0000 (09:00 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Fri, 27 Mar 2009 16:00:05 +0000 (09:00 -0700)
commit438c526f16951a91c59f44c94e9a6abd61004aa0
tree683708ec1e19fc16a91880b230b9bd0d69d3c9a1
parent6164b4689e6be44f74ef1505ab8629b310be5bb7
Fix DDB's 'show ktr' command - improper panic and improper scan

DDB's 'show ktr' command was using the wrong index to check the KTR
buffers and also improperly panicing when no KTR entries could be found.
sys/kern/kern_ktr.c