summaryrefslogtreecommitdiff
path: root/usr.sbin/sade/label.c
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1999-01-08 00:14:22 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1999-01-08 00:14:22 +0000
commitaf61828f4482c09573b57bcdfea51a17a355477c (patch)
treee5ef7594ea3b1af27ec00cf3c59363e6c9367fa6 /usr.sbin/sade/label.c
parent7306cb58a893b61bf1585931306c10ec8c0cdaa3 (diff)
Notes
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 858bf8d25751..ea49bbe0a169 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;