Add a bandaid so that sysctl kern.malloc works on sparc64.

This commit is contained in:
jake 2002-05-20 18:29:37 +00:00
parent d53ecb9f84
commit dca97f2341

View File

@ -524,7 +524,7 @@ sysctl_kern_malloc(SYSCTL_HANDLER_ARGS)
p += len;
first = 1;
for (i = 0; i < 8 * sizeof(type->ks_size); i++)
for (i = 0; i < 32 /* 8 * sizeof(type->ks_size) */; i++)
if (type->ks_size & (1 << i)) {
if (first)
len = snprintf(p, curline, " ");