Print the zlib-provided message in case of error.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30483 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -772,7 +772,7 @@ TarFS::Volume::_Inflate(boot::Partition *partition, void* cookie, off_t offset,
|
||||
offset += bytesRead;
|
||||
|
||||
if (zStream.avail_in != 0 && status != Z_STREAM_END)
|
||||
dprintf("tarfs: didn't read whole block!\n");
|
||||
dprintf("tarfs: didn't read whole block: %s\n", zStream.msg);
|
||||
} while (status == Z_OK);
|
||||
|
||||
inflateEnd(&zStream);
|
||||
|
||||
Reference in New Issue
Block a user