summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomasz Bursztyka <tomasz.bursztyka@linux.intel.com>2017-01-27 11:14:15 +0100
committerTomasz Bursztyka <tomasz.bursztyka@linux.intel.com>2017-01-27 11:49:42 +0100
commit1e0fdd37abffa3e397d74544232fe19bc350a05d (patch)
tree3a7d885c773b82bd34a7926e832dd9bd44877f67
parent6043dddd4a7ae9e3d0c232c73751da89ee432318 (diff)
net/shell: Fix format string
Change-Id: Id335466e68add23a5786257681dc1b4d5bf6846d Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
-rw-r--r--subsys/net/ip/net_shell.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/subsys/net/ip/net_shell.c b/subsys/net/ip/net_shell.c
index b5f57646e..33b2d4e05 100644
--- a/subsys/net/ip/net_shell.c
+++ b/subsys/net/ip/net_shell.c
@@ -268,8 +268,8 @@ static void iface_cb(struct net_if *iface, void *user_data)
#endif /* CONFIG_NET_IPV4 */
#if defined(CONFIG_NET_DHCPV4)
- printk("DHCPv4 lease time : %lu\n", iface->dhcpv4.lease_time);
- printk("DHCPv4 renew time : %lu\n", iface->dhcpv4.renewal_time);
+ printk("DHCPv4 lease time : %u\n", iface->dhcpv4.lease_time);
+ printk("DHCPv4 renew time : %u\n", iface->dhcpv4.renewal_time);
printk("DHCPv4 server : %s\n",
net_sprint_ipv4_addr(&iface->dhcpv4.server_id));
printk("DHCPv4 requested : %s\n",