diff options
author | jeff <jeff@FreeBSD.org> | 2002-04-30 22:39:32 +0000 |
---|---|---|
committer | jeff <jeff@FreeBSD.org> | 2002-04-30 22:39:32 +0000 |
commit | 968fe15c4ddd29119f7160321c6530f8df1bd320 (patch) | |
tree | 9ab91c696b4c3b87e8077f9b8606a723b54f3a6e /sys/kern | |
parent | 0e84366ae7583110f2684fcbdb18db042f76b8f8 (diff) | |
download | FreeBSD-src-968fe15c4ddd29119f7160321c6530f8df1bd320.zip FreeBSD-src-968fe15c4ddd29119f7160321c6530f8df1bd320.tar.gz |
Convert longs to u_longs in stats. This will hold off wrap arounds for a
while longer.
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/kern_malloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_malloc.c b/sys/kern/kern_malloc.c index 6ec1111..56769ad 100644 --- a/sys/kern/kern_malloc.c +++ b/sys/kern/kern_malloc.c @@ -484,7 +484,7 @@ sysctl_kern_malloc(SYSCTL_HANDLER_ARGS) continue; curline = linesize - 2; /* Leave room for the \n */ - len = snprintf(p, curline, "%13s%6ld%6ldK%7ldK%9llu", + len = snprintf(p, curline, "%13s%6lu%6luK%7luK%9llu", type->ks_shortdesc, type->ks_inuse, (type->ks_memuse + 1023) / 1024, |