* [PATCH] Print real error when initramfs gunzip failed
@ 2004-10-29 13:06 Andi Kleen
0 siblings, 0 replies; only message in thread
From: Andi Kleen @ 2004-10-29 13:06 UTC (permalink / raw)
To: akpm, linux-kernel
Print the real error when initramfs gunzip failed. gunzip already
sets up message correctly.
Signed-off-by: Andi Kleen <ak@suse.de>
Index: linux/init/initramfs.c
===================================================================
--- linux.orig/init/initramfs.c 2004-08-15 19:45:53.%N +0200
+++ linux/init/initramfs.c 2004-10-21 19:47:46.%N +0200
@@ -445,8 +445,7 @@
bytes_out = 0;
crc = (ulg)0xffffffffL; /* shift register contents */
makecrc();
- if (gunzip())
- message = "ungzip failed";
+ gunzip();
if (state != Reset)
error("junk in gzipped archive");
this_header = saved_offset + inptr;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-10-29 13:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-29 13:06 [PATCH] Print real error when initramfs gunzip failed Andi Kleen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).