From e5ea3d8c41235a687cbd9b89f0ab5858b1421966 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Wed, 29 Apr 2009 01:53:58 +0000 Subject: [PATCH] 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 --- src/system/boot/loader/file_systems/tarfs/tarfs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/system/boot/loader/file_systems/tarfs/tarfs.cpp b/src/system/boot/loader/file_systems/tarfs/tarfs.cpp index 053824c3cf..e80ec5c24b 100644 --- a/src/system/boot/loader/file_systems/tarfs/tarfs.cpp +++ b/src/system/boot/loader/file_systems/tarfs/tarfs.cpp @@ -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);