summaryrefslogtreecommitdiff
path: root/src/journal/test-compress.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/journal/test-compress.c')
-rw-r--r--src/journal/test-compress.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/journal/test-compress.c b/src/journal/test-compress.c
index b098ef93a8..0806145d4b 100644
--- a/src/journal/test-compress.c
+++ b/src/journal/test-compress.c
@@ -84,7 +84,7 @@ static void test_compress_stream(const char *srcfile) {
assert_se((dst = mkostemp_safe(pattern, O_RDWR|O_CLOEXEC)) >= 0);
- r = compress_stream(src, dst, -1);
+ r = compress_stream(src, dst, 1, -1);
assert(r == 0);
assert_se(asprintf(&cmd, "xzcat %s | diff %s -", pattern, srcfile) > 0);