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
|
@ -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 New Issue