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

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

gnrc_pktbuf_static: fix order of calling
This commit is contained in:
Cenk Gündoğan 2015-09-30 11:21:40 +02:00
commit d2a02ea582

View File

@ -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]) {