Skip to content

Commit d20bc48

Browse files
author
Samy Al Bahra
committed
regressions: improve formatting of thread ID.
1 parent 4f1e5cc commit d20bc48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

regressions/ck_spinlock/benchmark/throughput.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ main(int argc, char *argv[])
200200
fprintf(stderr, "done\n\n");
201201

202202
for (i = 0, v = 0; i < nthr; i++) {
203-
printf("%d %15" PRIu64 "\n", i, count[i].value);
203+
printf("%.2d %15" PRIu64 "\n", i, count[i].value);
204204
v += count[i].value;
205205
}
206206

0 commit comments

Comments
 (0)