Panic rather than BUG if an error is encountered decompressing a bzImage

This gives a more useful error message without an unnecessary stack dump.

Noticed by Jeremy Fitzhardinge.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
This commit is contained in:
Keir Fraser committed 2009-03-06 18:55:05 +00:00
1 parent 2ff253bcb6
commit adfb6cc3c0
1 file changed
+1 -2
+1 -2
View File
@@ -58,8 +58,7 @@ static void flush_window(void);
static __init void error(char *x)
{
printk("%s\n", x);
BUG();
panic("%s\n", x);
}
static __init int fill_inbuf(void)
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.