Skip to content
Snippets Groups Projects
Commit 30885a2a authored by Oleg Hahm's avatar Oleg Hahm
Browse files

pktbuf: correct size for printing chunk dumps

parent 45af8470
No related branches found
No related tags found
No related merge requests found
...@@ -274,7 +274,7 @@ static inline void _print_chunk(void *chunk, size_t size, int num) ...@@ -274,7 +274,7 @@ static inline void _print_chunk(void *chunk, size_t size, int num)
{ {
printf("================ chunk %3d (size: %4u) ================\n", num, printf("================ chunk %3d (size: %4u) ================\n", num,
(unsigned int)size); (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); OD_FLAGS_ADDRESS_HEX | OD_FLAGS_BYTES_HEX | OD_FLAGS_LENGTH_1);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment