This is an automated email from the ASF dual-hosted git repository.

gustavonihei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit c3c4053263cc59fa0ca54d3ef3fdf0b96ebd673a
Author: Xiang Xiao <[email protected]>
AuthorDate: Mon Jul 12 22:59:46 2021 +0800

    fs/profs: Add ordblks in meminfo_progmem
    
    forget in commit:
    Author: Jiuzhu Dong <[email protected]>
    Date:   Wed Apr 28 11:05:20 2021 +0800
    
        cmd/free: add nused/nfree field in command free
    
    Signed-off-by: Xiang Xiao <[email protected]>
---
 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 711d527..93985e2 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)
         {

Reply via email to