diff --git a/fs/procfs/fs_procfsproc.c b/fs/procfs/fs_procfsproc.c index 020dbbf06c1..67c074e00d1 100644 --- a/fs/procfs/fs_procfsproc.c +++ b/fs/procfs/fs_procfsproc.c @@ -902,7 +902,7 @@ static ssize_t proc_heap(FAR struct proc_file_s *procfile, #ifdef CONFIG_MM_KERNEL_HEAP if ((tcb->flags & TCB_FLAG_TTYPE_MASK) == TCB_FLAG_TTYPE_KERNEL) { - info = fs_heap_mallinfo_task(&task); + info = kmm_mallinfo_task(&task); } else #endif