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

Merge pull request #3942 from OlegHahm/pktbuf_dump_fix_chunk_size

pktbuf: correct size for printing chunk dumps
This commit is contained in:
Martine Lenders 2015-09-23 17:58:21 +02:00
commit ed4512470b

View File

@ -274,7 +274,7 @@ static inline void _print_chunk(void *chunk, size_t size, int num)
{
printf("================ chunk %3d (size: %4u) ================\n", num,
(unsigned int)size);
od(chunk, GNRC_PKTBUF_SIZE, OD_WIDTH_DEFAULT,
od(chunk, size, OD_WIDTH_DEFAULT,
OD_FLAGS_ADDRESS_HEX | OD_FLAGS_BYTES_HEX | OD_FLAGS_LENGTH_1);
}