S390 wierdness

This commit is contained in:
Eric Andersen 2001-11-20 05:42:57 +00:00
parent 81ee96fe62
commit f435a918fa

View File

@ -685,9 +685,15 @@ static void halt_signal(int sig)
{
shutdown_system();
message(CONSOLE|LOG,
#if #cpu(s390)
/* Seems the s390 console is Wierd(tm). */
"The system is halted. You may reboot now.\n",
#else
/* secondConsole is NULL for a serial console */
"The system is halted. Press %s or turn off power\n",
(secondConsole == NULL) /* serial console */
? "Reset" : "CTRL-ALT-DEL");
(secondConsole == NULL)? "Reset" : "CTRL-ALT-DEL"
#endif
);
sync();
/* allow time for last message to reach serial console */