mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
Add a bandaid so that sysctl kern.malloc works on sparc64.
This commit is contained in:
parent
4c1cc01cd8
commit
45eefe7176
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue