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

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


The following commit(s) were added to refs/heads/master by this push:
     new 125cf7abe nshlib: Fix the ps command format
125cf7abe is described below

commit 125cf7abe2d7f345c3bc58c0bdea2360fdefa170
Author: Masayuki Ishikawa <masayuki.ishik...@gmail.com>
AuthorDate: Wed Mar 29 17:15:48 2023 +0900

    nshlib: Fix the ps command format
    
    Summary:
    - I noticed that the ps command shows the wrong format due to
      recent changes on sigmask length from 32bits to 64bits
    - This commit fixes this issue
    
    Impact:
    - None
    
    Testing:
    - Tested with sabre-6quad:smp on qemu-7.1
    
    Signed-off-by: Masayuki Ishikawa <masayuki.ishik...@jp.sony.com>
---
 nshlib/nsh_proccmds.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/nshlib/nsh_proccmds.c b/nshlib/nsh_proccmds.c
index 76b08f8da..ab8560314 100644
--- a/nshlib/nsh_proccmds.c
+++ b/nshlib/nsh_proccmds.c
@@ -627,7 +627,7 @@ int cmd_ps(FAR struct nsh_vtbl_s *vtbl, int argc, FAR char 
**argv)
                    "%3s "
 #endif
                    "%3s %-8s %-7s %3s %-8s %-9s "
-                   "%-8s "
+                   "%-16s "
 #if CONFIG_MM_BACKTRACE >= 0 && !defined(CONFIG_NSH_DISABLE_PSHEAPUSAGE)
                    "%8s "
 #endif

Reply via email to