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

gnrc_pktbuf_static: fix order of calling

This commit is contained in:
Martine Lenders 2015-09-29 15:27:49 +02:00
parent 8da80ee878
commit e20451edd8

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