diff options
Diffstat (limited to 'src/journal')
-rw-r--r-- | src/journal/compress.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/journal/compress.c b/src/journal/compress.c index 316c1a66e3..ee18bc8fbc 100644 --- a/src/journal/compress.c +++ b/src/journal/compress.c @@ -132,7 +132,7 @@ int decompress_blob_xz(const void *src, uint64_t src_size, space = MIN(src_size * 2, dst_max ?: (uint64_t) -1); if (!greedy_realloc(dst, dst_alloc_size, space, 1)) - return false; + return -ENOMEM; s.next_in = src; s.avail_in = src_size; @@ -158,7 +158,7 @@ int decompress_blob_xz(const void *src, uint64_t src_size, used = space - s.avail_out; space = MIN(2 * space, dst_max ?: (uint64_t) -1); if (!greedy_realloc(dst, dst_alloc_size, space, 1)) - return false; + return -ENOMEM; s.avail_out = space - used; s.next_out = *dst + used; |