stroke: Use proper modifiers to print size_t arguments
This commit is contained in:
@@ -500,7 +500,7 @@ static void stroke_leases(private_stroke_socket_t *this,
|
|||||||
static void report_usage(FILE *out, int count, size_t bytes,
|
static void report_usage(FILE *out, int count, size_t bytes,
|
||||||
backtrace_t *bt, bool detailed)
|
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);
|
bytes, count, bytes / count);
|
||||||
bt->log(bt, out, detailed);
|
bt->log(bt, out, detailed);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user