mirror of
https://github.com/apache/nuttx.git
synced 2025-01-13 10:58:49 +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:
parent
7ef29ecce6
commit
c3c4053263
1 changed files with 1 additions and 0 deletions
|
@ -171,6 +171,7 @@ static void meminfo_progmem(FAR struct progmem_info_s *progmem)
|
|||
}
|
||||
|
||||
progmem->fordblks += pagesize;
|
||||
progmem->ordblks++;
|
||||
}
|
||||
else if (status != 0)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue