mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-06-06 14:14:11 +08:00
LIBMEMSTAT(3): Disable malloc sysctls
This commit is contained in:
parent
513e2344de
commit
cbffc0b0e2
@ -41,8 +41,10 @@ int
|
||||
memstat_sysctl_all(struct memory_type_list *mtlp, int flags)
|
||||
{
|
||||
|
||||
#ifndef __rtems__
|
||||
if (memstat_sysctl_malloc(mtlp, flags) < 0)
|
||||
return (-1);
|
||||
#endif /* __rtems__ */
|
||||
if (memstat_sysctl_uma(mtlp, flags) < 0)
|
||||
return (-1);
|
||||
return (0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user