1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00

sys/shell: fix format error in debug output

This commit is contained in:
smlng 2018-01-15 17:08:38 +01:00
parent eb3bfdf1d2
commit 928292f464

View File

@ -46,7 +46,7 @@ int _ntpdate(int argc, char **argv)
sock_udp_ep_t server = { .port = NTP_PORT, .family = AF_INET6 }; sock_udp_ep_t server = { .port = NTP_PORT, .family = AF_INET6 };
ipv6_addr_t *addr = (ipv6_addr_t *)&server.addr; ipv6_addr_t *addr = (ipv6_addr_t *)&server.addr;
int src_iface = ipv6_addr_split_iface(argv[1]); kernel_pid_t src_iface = ipv6_addr_split_iface(argv[1]);
if (src_iface == -1) { if (src_iface == -1) {
src_iface = KERNEL_PID_UNDEF; src_iface = KERNEL_PID_UNDEF;
} }