mirror of
https://github.com/apache/nuttx.git
synced 2026-08-05 06:10:27 +00: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…
Add table
Add a link
Reference in a new issue