mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
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:
1 parent
2ff253bcb6
commit
adfb6cc3c0
1 file changed
+1
-2
@@ -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)
|
||||
|
||||