chiark / gitweb /
test-compress-benchmark: add missing % before PRIu64 format
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>
Wed, 16 Jul 2014 06:59:13 +0000 (08:59 +0200)
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>
Wed, 16 Jul 2014 06:59:13 +0000 (08:59 +0200)
src/journal/test-compress-benchmark.c

index a346447..0141df4 100644 (file)
@@ -72,7 +72,7 @@ static void test_compress_decompress(const char* label,
 
                 assert(j > 0);
                 if (j >= i)
-                        log_error("%s \"compressed\" %zu -> " PRIu64, label, i, j);
+                        log_error("%s \"compressed\" %zu -> %" PRIu64, label, i, j);
 
                 r = decompress(buf, j, &buf2, &buf2_allocated, &k, 0);
                 assert(r == 0);