Skip to content
Snippets Groups Projects
Commit d2a02ea5 authored by Cenk Gündoğan's avatar Cenk Gündoğan
Browse files

Merge pull request #3985 from authmillenon/gnrc_pktbuf_static/fix/stats

gnrc_pktbuf_static: fix order of calling
parents 85f5a86f e20451ed
No related branches found
No related tags found
No related merge requests found
...@@ -313,8 +313,8 @@ void gnrc_pktbuf_stats(void) ...@@ -313,8 +313,8 @@ void gnrc_pktbuf_stats(void)
} }
_print_chunk(chunk, size, count++); _print_chunk(chunk, size, count++);
chunk += (size + ptr->size); chunk += (size + ptr->size);
ptr = ptr->next;
_print_unused(ptr); _print_unused(ptr);
ptr = ptr->next;
} }
if (chunk <= &_pktbuf[GNRC_PKTBUF_SIZE - 1]) { if (chunk <= &_pktbuf[GNRC_PKTBUF_SIZE - 1]) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment