mm/tlfs: Report the number of used block correctly

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I0457b3843e9e62b47b1600d627909533aab8986d
This commit is contained in:
Xiang Xiao
2021-07-07 23:52:25 +08:00
committed by xiaoxiang
parent 6ab3dd1e7c
commit 9166ffe83c
+4
View File
@@ -180,6 +180,10 @@ static void mm_mallinfo_walker(FAR void *ptr, size_t size, int used,
info->mxordblk = size;
}
}
else
{
info->aordblks++;
}
}
/****************************************************************************