From c3c4053263cc59fa0ca54d3ef3fdf0b96ebd673a Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Mon, 12 Jul 2021 22:59:46 +0800 Subject: [PATCH] fs/profs: Add ordblks in meminfo_progmem forget in commit: Author: Jiuzhu Dong Date: Wed Apr 28 11:05:20 2021 +0800 cmd/free: add nused/nfree field in command free Signed-off-by: Xiang Xiao --- fs/procfs/fs_procfsmeminfo.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/procfs/fs_procfsmeminfo.c b/fs/procfs/fs_procfsmeminfo.c index 711d5274b6..93985e2367 100644 --- a/fs/procfs/fs_procfsmeminfo.c +++ b/fs/procfs/fs_procfsmeminfo.c @@ -171,6 +171,7 @@ static void meminfo_progmem(FAR struct progmem_info_s *progmem) } progmem->fordblks += pagesize; + progmem->ordblks++; } else if (status != 0) {