diff options
author | kbyanc <kbyanc@FreeBSD.org> | 2002-06-10 22:40:26 +0000 |
---|---|---|
committer | kbyanc <kbyanc@FreeBSD.org> | 2002-06-10 22:40:26 +0000 |
commit | 4bf495ef479377ed8986640990f237aa688f5526 (patch) | |
tree | 363422e1c226a6717445ae6720682740aaa6cc1e /sys/sys/kobj.h | |
parent | 26c5dfb179df196ec83b6d8b11b744b7ee8a6237 (diff) | |
download | FreeBSD-src-4bf495ef479377ed8986640990f237aa688f5526.zip FreeBSD-src-4bf495ef479377ed8986640990f237aa688f5526.tar.gz |
Convert hit and miss counters to unsigned values. Surely negative values
for either does not make sense.
PR: (one small part of) 19720
Diffstat (limited to 'sys/sys/kobj.h')
-rw-r--r-- | sys/sys/kobj.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/kobj.h b/sys/sys/kobj.h index 64e8faa..c51dda0 100644 --- a/sys/sys/kobj.h +++ b/sys/sys/kobj.h @@ -136,8 +136,8 @@ void kobj_delete(kobj_t obj, struct malloc_type *mtype); * Maintain stats on hits/misses in lookup caches. */ #ifdef KOBJ_STATS -extern int kobj_lookup_hits; -extern int kobj_lookup_misses; +extern u_int kobj_lookup_hits; +extern u_int kobj_lookup_misses; #define KOBJOPHIT do { kobj_lookup_hits++; } while (0) #define KOBJOPMISS do { kobj_lookup_misses++; } while (0) #else |