Correct build on 64-bit: cast u_int64_t to (unsigned long long) before

printfing as (unsigned long long).  32-bit build on i386 didn't notice
this.  Whoops.

Reported by:	arved
Tested by:	sledge
This commit is contained in:
Robert Watson 2005-07-14 15:21:18 +00:00
parent f15067e8b2
commit 4f8721d2a9

View File

@ -696,7 +696,7 @@ sysctl_kern_malloc(SYSCTL_HANDLER_ARGS)
mtp->ks_shortdesc,
temp_allocs,
(temp_bytes + 1023) / 1024,
mts_local.mts_numallocs);
(unsigned long long)mts_local.mts_numallocs);
first = 1;
for (i = 0; i < sizeof(kmemzones) / sizeof(kmemzones[0]) - 1;