Increment kobj_lookup_misses on a miss rather than decrementing it.

Otherwise, the miss count is actually -kobj_lookup_misses.  Mostly a
pedantic change as KOBJ_STATS isn't on by default.
This commit is contained in:
John Baldwin 2005-12-29 18:00:42 +00:00
parent 54de74466a
commit 42b6a681bc
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=153844

View File

@ -237,7 +237,7 @@ kobj_lookup_method(kobj_class_t cls,
* a 'miss'.
*/
kobj_lookup_hits--;
kobj_lookup_misses--;
kobj_lookup_misses++;
#endif
ce = kobj_lookup_method_mi(cls, desc);