summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sade/main.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/main.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/main.c')
-rw-r--r--usr.sbin/sade/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/sade/main.c b/usr.sbin/sade/main.c
index 144a617..b9ac365 100644
--- a/usr.sbin/sade/main.c
+++ b/usr.sbin/sade/main.c
@@ -162,7 +162,7 @@ main(int argc, char **argv)
choice = scroll = curr = max = 0;
dmenuOpen(&MenuInitial, &choice, &scroll, &curr, &max, TRUE);
if (getpid() != 1
-#ifdef __alpha__
+#if defined(__alpha__) || defined(__sparc64__)
|| !msgNoYes("Are you sure you wish to exit? The system will halt.")
#else
|| !msgNoYes("Are you sure you wish to exit? The system will reboot\n"
OpenPOWER on IntegriCloud