Skip to content

Commit

Permalink
Merge pull request #4851 from cgundogan/pr/icmpv6/debug_fix
Browse files Browse the repository at this point in the history
gnrc_icmpv6: fix debug outputs
  • Loading branch information
cgundogan committed Feb 19, 2016
2 parents 3332723 + ee4553e commit 847c486
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sys/net/gnrc/network_layer/icmpv6/gnrc_icmpv6.c
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ void gnrc_icmpv6_demux(kernel_pid_t iface, gnrc_pktsnip_t *pkt)
break;

default:
DEBUG("icmpv6: unknown type field %" PRIu8 "\n", hdr->type);
DEBUG("icmpv6: unknown type field %u\n", hdr->type);
break;
}

Expand All @@ -131,7 +131,7 @@ void gnrc_icmpv6_demux(kernel_pid_t iface, gnrc_pktsnip_t *pkt)
sendto = gnrc_netreg_lookup(GNRC_NETTYPE_ICMPV6, hdr->type);

if (sendto == NULL) {
DEBUG("icmpv6: no receivers for ICMPv6 type %" PRIu8 "\n", hdr->type);
DEBUG("icmpv6: no receivers for ICMPv6 type %u\n", hdr->type);
/* don't release: IPv6 does this */
return;
}
Expand Down Expand Up @@ -161,7 +161,7 @@ gnrc_pktsnip_t *gnrc_icmpv6_build(gnrc_pktsnip_t *next, uint8_t type, uint8_t co
return NULL;
}

DEBUG("icmpv6: Building ICMPv6 message with type=%" PRIu8 ", code=%" PRIu8 "\n",
DEBUG("icmpv6: Building ICMPv6 message with type=%u, code=%u\n",
type, code);
icmpv6 = (icmpv6_hdr_t *)pkt->data;
icmpv6->type = type;
Expand Down

0 comments on commit 847c486

Please sign in to comment.