Merge pull request #9116 from cladmi/pr/sys/icmpv6_hdr_print
sys/icmpv6_hdr_print: replace PRIu8 by PRIu16
This commit is contained in:
commit
0ca4ffa6a4
@ -21,7 +21,8 @@
|
||||
|
||||
void icmpv6_hdr_print(icmpv6_hdr_t *hdr)
|
||||
{
|
||||
printf(" type: %3" PRIu8 " code: %3" PRIu8 "\n", hdr->type, hdr->code);
|
||||
printf(" type: %3" PRIu16 " code: %3" PRIu16 "\n",
|
||||
(uint16_t)hdr->type, (uint16_t)hdr->code);
|
||||
printf(" cksum: 0x%04" PRIx16 "\n", byteorder_ntohs(hdr->csum));
|
||||
}
|
||||
/** @} */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user