shell: Fix various build issues with string formattors
We get a few different CI failures associated with data type differences on various platforms. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
2643e8d62d
commit
fb4d68973f
4 changed files with 6 additions and 6 deletions
|
@ -104,8 +104,8 @@ static void shell_tdata_dump(const struct k_thread *cthread, void *user_data)
|
|||
* targets.
|
||||
*/
|
||||
#ifdef CONFIG_64BIT
|
||||
shell_print(shell, "\tTotal execution cycles: %llu (%u %%)",
|
||||
rt_stats_thread.execution_cycles,
|
||||
shell_print(shell, "\tTotal execution cycles: %" PRIu64 " (%u %%)",
|
||||
(uint64_t)rt_stats_thread.execution_cycles,
|
||||
pcnt);
|
||||
#else
|
||||
shell_print(shell, "\tTotal execution cycles: %u (%u %%)",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue