Add a bandaid so that sysctl kern.malloc works on sparc64.
This commit is contained in:
parent
d53ecb9f84
commit
dca97f2341
@ -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, " ");
|
||||
|
Loading…
Reference in New Issue
Block a user