projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81ee96f
)
S390 wierdness
author
Eric Andersen
<andersen@codepoet.org>
Tue, 20 Nov 2001 05:42:57 +0000
(
05:42
-0000)
committer
Eric Andersen
<andersen@codepoet.org>
Tue, 20 Nov 2001 05:42:57 +0000
(
05:42
-0000)
init/init.c
patch
|
blob
|
history
diff --git
a/init/init.c
b/init/init.c
index 118ab327a2ea86d4573669013775bd93174f7fd6..943db52610b979b622d10703c7693e798aa65672 100644
(file)
--- a/
init/init.c
+++ b/
init/init.c
@@
-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 */