Commit ca6934fd authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Also print out the text description of the gunzip error.

parent 9aa8317d
......@@ -302,7 +302,7 @@ VGZ_Gunzip(struct vgz *vg, const void **pptr, size_t *plen)
return (1);
if (i == Z_BUF_ERROR)
return (2);
printf("INFLATE=%d\n", i);
printf("INFLATE=%d (%s)\n", i, vg->vz.msg);
return (-1);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment