stats: Fix format specifier type
Fixes the format specifier type in a call to shell_printf(). Instead of printing with %x (which expects an unsigned int) for an address, it is now using %p. Signed-off-by: Peter Mitsis <peter.mitsis@intel.com>
This commit is contained in:
parent
02fceed732
commit
60e780aa8e
|
@ -33,7 +33,7 @@ static int stats_group_cb(struct stats_hdr *hdr, void *arg)
|
|||
{
|
||||
struct shell *sh = arg;
|
||||
|
||||
shell_print(sh, "Stats Group %s (hdr addr: %x)", hdr->s_name, (void *)hdr);
|
||||
shell_print(sh, "Stats Group %s (hdr addr: %p)", hdr->s_name, (void *)hdr);
|
||||
return stats_walk(hdr, stats_cb, arg);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue