summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sade/label.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/sade/label.c')
-rw-r--r--usr.sbin/sade/label.c13
1 files changed, 12 insertions, 1 deletions
diff --git a/usr.sbin/sade/label.c b/usr.sbin/sade/label.c
index 858bf8d..ea49bbe 100644
--- a/usr.sbin/sade/label.c
+++ b/usr.sbin/sade/label.c
@@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
- * $Id: label.c,v 1.82 1998/03/13 11:09:03 jkh Exp $
+ * $Id: label.c,v 1.83 1998/07/18 09:42:01 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -653,6 +653,9 @@ diskLabel(Device *dev)
PartInfo *p, *oldp;
PartType type;
Device **devs;
+#ifdef __alpha__
+ int i;
+#endif
label_focus = 0;
pslice_focus = 0;
@@ -665,6 +668,11 @@ diskLabel(Device *dev)
}
labeling = TRUE;
keypad(stdscr, TRUE);
+#ifdef __alpha__
+ for (i = 0; devs[i]; i++) {
+ All_FreeBSD((Disk*) devs[i]->private, 1);
+ }
+#endif
record_label_chunks(devs, dev);
clear();
@@ -1160,6 +1168,9 @@ diskLabelNonInteractive(Device *dev)
d = dev->private;
else
d = devs[0]->private;
+#ifdef __alpha__
+ All_FreeBSD(d, 1);
+#endif
record_label_chunks(devs, dev);
for (i = 0; label_chunk_info[i].c; i++) {
Chunk *c1 = label_chunk_info[i].c;
OpenPOWER on IntegriCloud