summaryrefslogtreecommitdiff
path: root/sys/arch/landisk
diff options
context:
space:
mode:
authorMasao Uebayashi <uebayasi@cvs.openbsd.org>2014-07-13 22:13:08 +0000
committerMasao Uebayashi <uebayasi@cvs.openbsd.org>2014-07-13 22:13:08 +0000
commite19d4eb5e939639e9a3c7e47cc3de635618ca262 (patch)
treeed965b2bdfea5f4d83cc030ea7409da96da2814f /sys/arch/landisk
parentf2d40e7271682c91645171dbb2e43703eb599740 (diff)
Cosmetic changes to reduce diffs.
Diffstat (limited to 'sys/arch/landisk')
-rw-r--r--sys/arch/landisk/landisk/machdep.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/arch/landisk/landisk/machdep.c b/sys/arch/landisk/landisk/machdep.c
index 7bf1ace830e..5d800bc7949 100644
--- a/sys/arch/landisk/landisk/machdep.c
+++ b/sys/arch/landisk/landisk/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.36 2014/07/10 21:46:03 mpi Exp $ */
+/* $OpenBSD: machdep.c,v 1.37 2014/07/13 22:13:06 uebayasi Exp $ */
/* $NetBSD: machdep.c,v 1.1 2006/09/01 21:26:18 uwe Exp $ */
/*-
@@ -205,15 +205,16 @@ boot(int howto)
if ((howto & RB_NOSYNC) == 0) {
vfs_shutdown();
- if ((howto & RB_TIMEBAD) == 0)
+ if ((howto & RB_TIMEBAD) == 0) {
resettodr();
- else
+ } else {
printf("WARNING: not updating battery clock\n");
+ }
}
if_downall();
uvm_shutdown();
- splhigh(); /* Disable interrupts. */
+ splhigh();
cold = 1;
/* Do a dump if requested. */