vmlinuz/386: fixed zlib uncompression problem on dos
This commit is contained in:
+1
-1
@@ -165,7 +165,7 @@ int PackVmlinuzI386::decompressKernel()
|
||||
fd = dup(fi->getFd());
|
||||
if (fd < 0)
|
||||
break;
|
||||
gzFile zf = gzdopen(fd, "r");
|
||||
gzFile zf = gzdopen(fd, "rb");
|
||||
if (zf == NULL)
|
||||
break;
|
||||
// estimate gzip-decompressed kernel size & alloc buffer
|
||||
|
||||
Reference in New Issue
Block a user