summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorasmodai <asmodai@FreeBSD.org>2002-04-08 10:37:27 +0000
committerasmodai <asmodai@FreeBSD.org>2002-04-08 10:37:27 +0000
commitcaca591db32de62e9d285089a17accffe2db18f1 (patch)
tree8248b84b3fc378e8a978e9fe70fce68e1891904e
parentea5eccadedd04f1181b246d44d77e166d39457ff (diff)
downloadFreeBSD-src-caca591db32de62e9d285089a17accffe2db18f1.zip
FreeBSD-src-caca591db32de62e9d285089a17accffe2db18f1.tar.gz
Change ks_calls from int64_t to uint64_t, since it cannot be negative.
PR: 32342 Submitted by: ryan beasley <ryanb@goddamnbastard.org> Reviewed by: jeff, Tim J Robbins
-rw-r--r--sys/sys/malloc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/malloc.h b/sys/sys/malloc.h
index 76c5725..23d2133 100644
--- a/sys/sys/malloc.h
+++ b/sys/sys/malloc.h
@@ -59,7 +59,7 @@ struct malloc_type {
long ks_limit; /* most that are allowed to exist */
long ks_size; /* sizes of this thing that are allocated */
long ks_inuse; /* # of packets of this type currently in use */
- int64_t ks_calls; /* total packets of this type ever allocated */
+ uint64_t ks_calls; /* total packets of this type ever allocated */
long ks_maxused; /* maximum number ever used */
u_long ks_magic; /* if it's not magic, don't touch it */
const char *ks_shortdesc; /* short description */
OpenPOWER on IntegriCloud