kernel: atomics: update print specifiers for atomic_t
The print specifier for `atomic_t` should be updated to `%ld`, `%lu`, or `%lx` to account for the type change of `atomic_t` to `long`. Signed-off-by: Christopher Friedt <chrisfriedt@gmail.com>
This commit is contained in:
parent
80f73a053f
commit
3e86c627f7
12 changed files with 29 additions and 32 deletions
|
@ -310,7 +310,7 @@ static int cmd_shell_stats_show(const struct shell *shell, size_t argc,
|
|||
ARG_UNUSED(argc);
|
||||
ARG_UNUSED(argv);
|
||||
|
||||
shell_print(shell, "Lost logs: %u", shell->stats->log_lost_cnt);
|
||||
shell_print(shell, "Lost logs: %lu", shell->stats->log_lost_cnt);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue