diff --git a/sys/net/gnrc/pktbuf_static/gnrc_pktbuf_static.c b/sys/net/gnrc/pktbuf_static/gnrc_pktbuf_static.c index e1fece5f9cf36b0ef9febbff4850d9994b19aa1d..2d0b68fe0378a695d7770a2d156c2647293c4247 100644 --- a/sys/net/gnrc/pktbuf_static/gnrc_pktbuf_static.c +++ b/sys/net/gnrc/pktbuf_static/gnrc_pktbuf_static.c @@ -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); }