lib: Be noisy about used decompression method.
A message that is not in the archive (sent off-list or not yet received): [email protected]
PATCH 1/1 lib: Be noisy about used decompression method.
It's too easy to build the initrd with wrong options during testing, after which it may silently work anyway.
Signed-off-by Adam Borowski <[email protected]>
--- lib/decompress.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
lib/decompress.c +3 -1
@@ -78,7 +78,9 @@ decompress_fn __init decompress_method(const unsigned char *inbuf, long len,break ; } -if (name) +if (name) { *name = cf->name; +printk ("Decompressing using %s.\n" , *name); + }return cf->decompressor; }
Signature · 1 line
2.16.2