mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
Merged in tomasz_wozniak/nuttx-apps/sprintf_format_workaround_pr (pull request #69)
built-in libc defect workaround: replace '%6.6u' format with an equivalent '%06u' Approved-by: Gregory Nutt <gnutt@nuttx.org>
This commit is contained in:
commit
b7137bf206
1 changed files with 2 additions and 2 deletions
|
|
@ -478,10 +478,10 @@ static int ps_callback(FAR struct nsh_vtbl_s *vtbl, FAR const char *dirpath,
|
|||
}
|
||||
}
|
||||
|
||||
nsh_output(vtbl, "%6.6u ", (unsigned int)stack_size);
|
||||
nsh_output(vtbl, "%06u ", (unsigned int)stack_size);
|
||||
|
||||
#ifdef CONFIG_STACK_COLORATION
|
||||
nsh_output(vtbl, "%6.6u ", (unsigned int)stack_used);
|
||||
nsh_output(vtbl, "%06u ", (unsigned int)stack_used);
|
||||
|
||||
stack_filled = 0;
|
||||
if (stack_size > 0 && stack_used > 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue