From edfd8012edfc4a22adcc87869d4c6f26edc70740 Mon Sep 17 00:00:00 2001 From: Oleg Hahm Date: Thu, 6 Aug 2015 16:47:42 +0200 Subject: [PATCH] ipv6: removed null-pointer reference in debug --- sys/net/network_layer/ng_ipv6/netif/ng_ipv6_netif.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sys/net/network_layer/ng_ipv6/netif/ng_ipv6_netif.c b/sys/net/network_layer/ng_ipv6/netif/ng_ipv6_netif.c index a8f8e2b622c1..d3bcbe194481 100644 --- a/sys/net/network_layer/ng_ipv6/netif/ng_ipv6_netif.c +++ b/sys/net/network_layer/ng_ipv6/netif/ng_ipv6_netif.c @@ -287,8 +287,7 @@ kernel_pid_t ng_ipv6_netif_find_by_addr(ng_ipv6_addr_t **out, const ng_ipv6_addr } else { if (ng_ipv6_netif_find_addr(ipv6_ifs[i].pid, addr) != NULL) { - DEBUG("ipv6 netif: Found %s on interface %" PRIkernel_pid "\n", - ng_ipv6_addr_to_str(addr_str, *out, sizeof(addr_str)), + DEBUG("ipv6 netif: Found :: on interface %" PRIkernel_pid "\n", ipv6_ifs[i].pid); return ipv6_ifs[i].pid; }