diff --git a/subsys/net/ip/net_shell.c b/subsys/net/ip/net_shell.c index 668041e5561..2b854cbac79 100644 --- a/subsys/net/ip/net_shell.c +++ b/subsys/net/ip/net_shell.c @@ -1222,7 +1222,7 @@ static int shell_cmd_stacks(int argc, char *argv[]) info->size + stack_offset, unused, info->size - unused, info->size, pcnt); #else - printk("%s [%s] stack size %u usage not available\n", + printk("%s [%s] stack size %zu usage not available\n", info->pretty_name, info->name, info->orig_size); #endif }