stroke: Use %u to print stats returned by mallinfo(3)

References #886.
This commit is contained in:
Tobias Brunner
2015-03-13 15:25:53 +01:00
parent f3c8332220
commit 8286e2050b
+1 -1
View File
@@ -497,7 +497,7 @@ METHOD(stroke_list_t, status, void,
{ {
struct mallinfo mi = mallinfo(); struct mallinfo mi = mallinfo();
fprintf(out, " malloc: sbrk %d, mmap %d, used %d, free %d\n", fprintf(out, " malloc: sbrk %u, mmap %u, used %u, free %u\n",
mi.arena, mi.hblkhd, mi.uordblks, mi.fordblks); mi.arena, mi.hblkhd, mi.uordblks, mi.fordblks);
} }
#endif /* HAVE_MALLINFO */ #endif /* HAVE_MALLINFO */