diff options
-rw-r--r-- | src/libutil/compression.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libutil/compression.cc b/src/libutil/compression.cc index 17b506d5d..860b04adb 100644 --- a/src/libutil/compression.cc +++ b/src/libutil/compression.cc @@ -90,8 +90,8 @@ struct GzipDecompressionSink : CompressionSink int ret = inflate(&strm,Z_SYNC_FLUSH); if (ret != Z_OK && ret != Z_STREAM_END) - throw CompressionError("error while decompressing gzip file: %d: %d: %d",ret, len, strm.avail_in); - + throw CompressionError("error while decompressing gzip file: %d (%d, %d)", + zError(ret), len, strm.avail_in); finished = ret == Z_STREAM_END; |