summaryrefslogtreecommitdiff
path: root/subsys
diff options
context:
space:
mode:
authorAndrei Emeltchenko <andrei.emeltchenko@intel.com>2017-04-19 16:51:02 +0300
committerJukka Rissanen <jukka.rissanen@linux.intel.com>2017-04-21 14:19:50 +0300
commit9bf3ea071ae098daeb06060debffa35a0337318f (patch)
tree1f920f818b597398a801686314661a20d0d05157 /subsys
parent504b273b857073c626be598dc1582073af9cc47b (diff)
net: shell: Correct print format specifier
Fix warning using incorrect format specifier Change-Id: Ib6800c40b2cd769612ae6f107e41a941926d8e66 Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
Diffstat (limited to 'subsys')
-rw-r--r--subsys/net/ip/net_shell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/subsys/net/ip/net_shell.c b/subsys/net/ip/net_shell.c
index 668041e55..2b854cbac 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
}