summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/label.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1995-05-21 04:34:12 +0000
committerphk <phk@FreeBSD.org>1995-05-21 04:34:12 +0000
commitf97e95c7b070492a1e15c3c836fcc2fba708f50e (patch)
tree1a4bf44f191011da6cad49ef141fa9ac94c4185f /usr.sbin/sysinstall/label.c
parent5edfd32aaa977c96870f006abc1b4d2cafa094f1 (diff)
downloadFreeBSD-src-f97e95c7b070492a1e15c3c836fcc2fba708f50e.zip
FreeBSD-src-f97e95c7b070492a1e15c3c836fcc2fba708f50e.tar.gz
label.c: wizard mode now returns;
disks.c: clrtobot() so that deleted stuff disappears. disks.c: offset is signed (for OnTrack diskmanager) system.c: don't setbuf(stdout,0), it's too slow.
Diffstat (limited to 'usr.sbin/sysinstall/label.c')
-rw-r--r--usr.sbin/sysinstall/label.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/sysinstall/label.c b/usr.sbin/sysinstall/label.c
index 68db110..fbc9c5e 100644
--- a/usr.sbin/sysinstall/label.c
+++ b/usr.sbin/sysinstall/label.c
@@ -586,7 +586,7 @@ diskLabelEditor(char *str)
msgConfirm("Can't find any disk devicse!");
break;
}
- for (i = 0; ((Disk *)devs[i]->private); i++) {
+ for (i = 0; devs[i] && ((Disk *)devs[i]->private); i++) {
if (devs[i]->enabled)
slice_wizard(((Disk *)devs[i]->private));
}
OpenPOWER on IntegriCloud