diff options
Diffstat (limited to 'src/libsystemd/sd-journal/journal-file.c')
-rw-r--r-- | src/libsystemd/sd-journal/journal-file.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/libsystemd/sd-journal/journal-file.c b/src/libsystemd/sd-journal/journal-file.c index 3cf26f8e44..5f63633bf1 100644 --- a/src/libsystemd/sd-journal/journal-file.c +++ b/src/libsystemd/sd-journal/journal-file.c @@ -1495,7 +1495,7 @@ int journal_file_find_data_object_with_hash( l -= offsetof(Object, data.payload); r = decompress_blob(o->object.flags & OBJECT_COMPRESSION_MASK, - o->data.payload, l, &f->compress_buffer, &f->compress_buffer_size, &rsize, 0); + o->data.payload, l, &f->compress_buffer, &rsize, 0); if (r < 0) return r; @@ -3919,8 +3919,11 @@ int journal_file_copy_entry(JournalFile *from, JournalFile *to, Object *o, uint6 #if HAVE_COMPRESSION size_t rsize = 0; - r = decompress_blob(o->object.flags & OBJECT_COMPRESSION_MASK, - o->data.payload, l, &from->compress_buffer, &from->compress_buffer_size, &rsize, 0); + r = decompress_blob( + o->object.flags & OBJECT_COMPRESSION_MASK, + o->data.payload, l, + &from->compress_buffer, &rsize, + 0); if (r < 0) return r; |