From 9bf3ea071ae098daeb06060debffa35a0337318f Mon Sep 17 00:00:00 2001 From: Andrei Emeltchenko Date: Wed, 19 Apr 2017 16:51:02 +0300 Subject: [PATCH] net: shell: Correct print format specifier Fix warning using incorrect format specifier Change-Id: Ib6800c40b2cd769612ae6f107e41a941926d8e66 Signed-off-by: Andrei Emeltchenko --- subsys/net/ip/net_shell.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }