mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-18 10:35:55 +00:00
Add a bandaid so that sysctl kern.malloc works on sparc64.
This commit is contained in:
parent
4c1cc01cd8
commit
45eefe7176
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=97009
@ -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