Fix PRINTF statement in sicslowpan

This commit is contained in:
Simon Duquennoy 2016-02-02 17:18:45 +01:00
parent 5d67a612b4
commit f0d1b6c5bb

View file

@ -1580,8 +1580,8 @@ input(void)
/* If this is the last fragment, we may shave off any extrenous
bytes at the end. We must be liberal in what we accept. */
PRINTFI("last_fragment?: processed_ip_in_len %d packetbuf_payload_len %d frag_size %d\n",
processed_ip_in_len, packetbuf_datalen() - packetbuf_hdr_len, frag_size);
PRINTFI("last_fragment?: packetbuf_payload_len %d frag_size %d\n",
packetbuf_datalen() - packetbuf_hdr_len, frag_size);
/* Add the fragment to the fragmentation context (this will also
copy the payload) */
@ -1661,7 +1661,7 @@ input(void)
PRINTF(
"SICSLOWPAN: packet dropped, minimum required IP_BUF size: %d+%d+%d+%d=%d (current size: %u)\n",
UIP_LLH_LEN, uncomp_hdr_len, (uint16_t)(frag_offset << 3),
packetbuf_payload_len, req_size, sizeof(uip_buf));
packetbuf_payload_len, req_size, (unsigned)sizeof(uip_buf));
return;
}
}