Telling user machine is going to crash at KERN_WARNING level is good joke
From: Pavel Machek
Date: Mon Apr 05 2004 - 18:01:40 EST
Hi!
...but its victims might not like it. Please apply,
Pavel
--- tmp/linux/mm/page_alloc.c 2004-04-05 10:45:31.000000000 +0200
+++ linux/mm/page_alloc.c 2004-04-05 16:50:49.000000000 +0200
@@ -1478,7 +1478,7 @@
zone->zone_start_pfn = zone_start_pfn;
if ((zone_start_pfn) & (zone_required_alignment-1))
- printk("BUG: wrong zone alignment, it will crash\n");
+ printk(KERN_CRIT "BUG: wrong zone alignment, it will crash\n");
memmap_init(lmem_map, size, nid, j, zone_start_pfn);
--
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/