LIBMEMSTAT(3): Disable malloc sysctls

This commit is contained in:
Sebastian Huber 2015-01-29 08:38:28 +01:00
parent 513e2344de
commit cbffc0b0e2

View File

@ -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);