Skip to contentSkip to conversation

(Trivial) Change panic message to not confuse people who

PATCH New Jeremy Huddleston 1 participant 1 message Dec 15, 2004

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 (Trivial) Change panic message to not confuse people who

Ciaran McCreesh (ciaranm) made this patch for Gentoo, and we've been using it in our patchset for ages. I'd like to poke about getting it included in mainline.

Signature · 1 line
Jeremy Huddleston <[email protected]>

From http://dev.gentoo.org/~wesolows

This patch replaces tha panic message advising the user to press L1-A with one that includes Stop-A since most keyboards are now marked that way. From Ciaranm.

-------------------------------------------------------------------------------

kernel/panic.c +2 -2
diff -burN linux-2.6.4-rc2-0/kernel/panic.c linux-2.6.4-rc2-42/kernel/panic.c
@@ -96,9 +96,9 @@
 #ifdef __sparc__
 	{
 		extern int stop_a_enabled;
-		/* Make sure the user can actually press L1-A */
+		/* Make sure the user can actually press Stop-A */
 		stop_a_enabled = 1;
-		printk(KERN_EMERG "Press L1-A to return to the boot prom\n");
+		printk(KERN_EMERG "Press Stop-A (L1-A) to return to the boot prom\n");
 	}
 #endif
 #if defined(CONFIG_ARCH_S390)