From 125cf7abe2d7f345c3bc58c0bdea2360fdefa170 Mon Sep 17 00:00:00 2001 From: Masayuki Ishikawa Date: Wed, 29 Mar 2023 17:15:48 +0900 Subject: [PATCH] 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 --- 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