summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2002-10-29 07:38:05 +0000
committerphk <phk@FreeBSD.org>2002-10-29 07:38:05 +0000
commit20e1475b68aefb9ec4cf25101ec9b968b68bad40 (patch)
tree19073f6c065e7aab5423349c0a5bc5c83d7c402a /usr.sbin/sysinstall
parent4d780c389d8695ba56c4f246e67218d78ffd14fb (diff)
downloadFreeBSD-src-20e1475b68aefb9ec4cf25101ec9b968b68bad40.zip
FreeBSD-src-20e1475b68aefb9ec4cf25101ec9b968b68bad40.tar.gz
Sparc64 will not need the same hacks as alpha did. Hopefully alpha wont
need them either.
Diffstat (limited to 'usr.sbin/sysinstall')
-rw-r--r--usr.sbin/sysinstall/label.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/sysinstall/label.c b/usr.sbin/sysinstall/label.c
index bf4518d..50c35e6 100644
--- a/usr.sbin/sysinstall/label.c
+++ b/usr.sbin/sysinstall/label.c
@@ -679,7 +679,7 @@ clear_wins(void)
print_label_chunks();
}
-#if defined(__alpha__) || defined(__sparc64__)
+#if defined(__alpha__)
/*
* If there isn't a freebsd chunk already (i.e. there is no label),
@@ -712,7 +712,7 @@ diskLabel(Device *dev)
PartInfo *p, *oldp;
PartType type;
Device **devs;
-#if defined(__alpha__) || defined(__sparc64__)
+#if defined(__alpha__)
int i;
#endif
WINDOW *w = savescr();
@@ -729,7 +729,7 @@ diskLabel(Device *dev)
}
labeling = TRUE;
keypad(stdscr, TRUE);
-#if defined(__alpha__) || defined(__sparc64__)
+#if defined(__alpha__)
for (i = 0; devs[i]; i++) {
maybe_dedicate((Disk*) devs[i]->private);
}
@@ -1381,7 +1381,7 @@ diskLabelNonInteractive(Device *dev)
d = dev->private;
else
d = devs[0]->private;
-#if defined(__alpha__) || defined(__sparc64__)
+#if defined(__alpha__)
maybe_dedicate(d);
#endif
record_label_chunks(devs, dev);
OpenPOWER on IntegriCloud