stroke: Use proper modifiers to print size_t arguments

This commit is contained in:
Tobias Brunner
2014-02-18 16:46:25 +01:00
parent 6dd05e0d58
commit 5a04056295
+1 -1
View File
@@ -500,7 +500,7 @@ static void stroke_leases(private_stroke_socket_t *this,
static void report_usage(FILE *out, int count, size_t bytes,
backtrace_t *bt, bool detailed)
{
fprintf(out, "%d bytes total, %d allocations, %d bytes average:\n",
fprintf(out, "%zu bytes total, %d allocations, %zu bytes average:\n",
bytes, count, bytes / count);
bt->log(bt, out, detailed);
}