mirror of
https://github.com/apache/nuttx-apps.git
synced 2025-10-19 11:23:07 +08:00
nsh: Fix PS printing misalignment
When the stack is allocated in megabytes, printing seven bits of ps will not align Signed-off-by: wangmingrong <wangmingrong@xiaomi.com>
This commit is contained in:

committed by
Petro Karashchenko

parent
c30583dda4
commit
c2597504e0
@@ -534,10 +534,10 @@ static int ps_callback(FAR struct nsh_vtbl_s *vtbl, FAR const char *dirpath,
|
||||
"%08lu "
|
||||
#endif
|
||||
#ifdef PS_SHOW_STACKSIZE
|
||||
"%06lu "
|
||||
"%07lu "
|
||||
#endif
|
||||
#ifdef PS_SHOW_STACKUSAGE
|
||||
"%06lu "
|
||||
"%07lu "
|
||||
"%3lu.%lu%%%c "
|
||||
#endif
|
||||
#ifdef NSH_HAVE_CPULOAD
|
||||
|
Reference in New Issue
Block a user