mirror of
https://github.com/apache/nuttx.git
synced 2026-06-02 01:21:26 +08:00
fs/profs: Add ordblks in meminfo_progmem
forget in commit: Author: Jiuzhu Dong <dongjiuzhu1@xiaomi.com> Date: Wed Apr 28 11:05:20 2021 +0800 cmd/free: add nused/nfree field in command free Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
committed by
Gustavo Henrique Nihei
parent
7ef29ecce6
commit
c3c4053263
@@ -171,6 +171,7 @@ static void meminfo_progmem(FAR struct progmem_info_s *progmem)
|
|||||||
}
|
}
|
||||||
|
|
||||||
progmem->fordblks += pagesize;
|
progmem->fordblks += pagesize;
|
||||||
|
progmem->ordblks++;
|
||||||
}
|
}
|
||||||
else if (status != 0)
|
else if (status != 0)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user