summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sade/system.c
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2002-10-11 22:30:09 +0000
committerobrien <obrien@FreeBSD.org>2002-10-11 22:30:09 +0000
commitc48c3e3e1c8e962ff7bd7da96280a1a2d071282e (patch)
treee0595bfb73138d57a8ad33f40655209e07fd7996 /usr.sbin/sade/system.c
parentedc920d80d67ec9fe56566b02c06a40770fa5303 (diff)
downloadFreeBSD-src-c48c3e3e1c8e962ff7bd7da96280a1a2d071282e.zip
FreeBSD-src-c48c3e3e1c8e962ff7bd7da96280a1a2d071282e.tar.gz
* Negative #if's are harder to read as they don't tell exactly what arch
something applies to. So change #ifndef to an explicit list of defines. * Treate sparc64 and ia64 as 64-bit platforms, which means larger roots. * sparc64 should halt back to the firmware, not reset. * sparc64 doesn't need to play MS-DOS/BIOS partition crap games. Reviewed by: jake
Diffstat (limited to 'usr.sbin/sade/system.c')
-rw-r--r--usr.sbin/sade/system.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/sade/system.c b/usr.sbin/sade/system.c
index 07fc2b0..25ab8b1 100644
--- a/usr.sbin/sade/system.c
+++ b/usr.sbin/sade/system.c
@@ -253,7 +253,7 @@ systemShutdown(int status)
if (RunningAsInit) {
/* Put the console back */
ioctl(0, VT_ACTIVATE, 2);
-#ifdef __alpha__
+#if defined(__alpha__) || defined(__sparc64__)
reboot(RB_HALT);
#else
reboot(0);
OpenPOWER on IntegriCloud