summaryrefslogtreecommitdiff
path: root/sys/arch/aviion
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2006-05-16 23:22:11 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2006-05-16 23:22:11 +0000
commit5faa1eb431f7936adfd6b70cd29a26b6e7b625f0 (patch)
treeb427332db6f76f4e87fa9d909e05853beee00501 /sys/arch/aviion
parent57f04265418a627983903a75995e80465e6a51c1 (diff)
Print a final line before asking the PROM to halt or reboot, for the
abruptness of its prompt almost looks like the kernel died horribly.
Diffstat (limited to 'sys/arch/aviion')
-rw-r--r--sys/arch/aviion/aviion/machdep.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/aviion/aviion/machdep.c b/sys/arch/aviion/aviion/machdep.c
index 1c88386de6d..b2391a28de4 100644
--- a/sys/arch/aviion/aviion/machdep.c
+++ b/sys/arch/aviion/aviion/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.1 2006/05/09 18:09:02 miod Exp $ */
+/* $OpenBSD: machdep.c,v 1.2 2006/05/16 23:22:10 miod Exp $ */
/*
* Copyright (c) 1998, 1999, 2000, 2001 Steve Murphree, Jr.
* Copyright (c) 1996 Nivas Madhur
@@ -420,6 +420,7 @@ allocsys(v)
__dead void
doboot()
{
+ printf("Rebooting system...\n\n");
cmmu_shutdown();
scm_reboot(NULL);
/*NOTREACHED*/
@@ -468,6 +469,7 @@ haltsys:
doshutdownhooks();
if (howto & RB_HALT) {
+ printf("System halted.\n\n");
cmmu_shutdown();
scm_halt();
}