diff --git a/benchmarks/common/syscalls.c b/benchmarks/common/syscalls.c index 7a7b7fdf5..c545bdaad 100644 --- a/benchmarks/common/syscalls.c +++ b/benchmarks/common/syscalls.c @@ -115,7 +115,7 @@ void _init(int cid, int nc) char* pbuf = buf; for (int i = 0; i < NUM_COUNTERS; i++) if (counters[i]) - pbuf += sprintf(pbuf, "%s = %d\n", counter_names[i], counters[i]); + pbuf += sprintf(pbuf, "%s = %zd\n", counter_names[i], counters[i]); if (pbuf != buf) printstr(buf);