diff --git a/src/bench.c b/src/bench.c index b52aa2e..f61ef4b 100644 --- a/src/bench.c +++ b/src/bench.c @@ -23,6 +23,7 @@ #include #include #include +#include static void _errno_assert(const char *file, int line, int i) { if (i != 0) { @@ -238,7 +239,8 @@ static candidate sparkey_candidate_compressed = { /* main */ void test(candidate *c, int n, int lookups) { - printf("Testing bulk insert of %d elements and %d random lookups\n", n, lookups); + setlocale(LC_NUMERIC, ""); + printf("Testing bulk insert of %'d elements and %'d random lookups\n", n, lookups); printf(" Candidate: %s\n", c->name); rm_all_rec(c->files());