1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +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++);
chunk += (size + ptr->size);
ptr = ptr->next;
_print_unused(ptr);
ptr = ptr->next;
}
if (chunk <= &_pktbuf[GNRC_PKTBUF_SIZE - 1]) {