diff options
author | jkh <jkh@FreeBSD.org> | 1995-05-20 10:33:14 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1995-05-20 10:33:14 +0000 |
commit | 3b6a142d8de0c7c6fc16424823c1c574c26a6019 (patch) | |
tree | fe34e20c28206a242583f4afa84e1c0ce9c247b8 /usr.sbin/sysinstall/disks.c | |
parent | b00009a29ac9fc1ba5f3ce41b8d992a4c9b88e5e (diff) | |
download | FreeBSD-src-3b6a142d8de0c7c6fc16424823c1c574c26a6019.zip FreeBSD-src-3b6a142d8de0c7c6fc16424823c1c574c26a6019.tar.gz |
1. Fix a pathological bug I introduced in msgInfo(). Right idea, wrong
implementation.
2. Totally rework device registration. It's about half the size and
more powerful now.
3. Add DOS discovery.
4. Start filling in some of the strategy routines.
5. Another clean-up pass over the menus.
6. Make wizard code use Disk typedef.
If I can get the first strategy routine finished tonite, we should have a working
install (from ftp, at least) this weekend.
Diffstat (limited to 'usr.sbin/sysinstall/disks.c')
-rw-r--r-- | usr.sbin/sysinstall/disks.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/usr.sbin/sysinstall/disks.c b/usr.sbin/sysinstall/disks.c index 20f9f11..f1f1693 100644 --- a/usr.sbin/sysinstall/disks.c +++ b/usr.sbin/sysinstall/disks.c @@ -4,7 +4,7 @@ * This is probably the last program in the `sysinstall' line - the next * generation being essentially a complete rewrite. * - * $Id: disks.c,v 1.21 1995/05/17 16:16:07 jkh Exp $ + * $Id: disks.c,v 1.22 1995/05/18 09:01:50 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -316,7 +316,6 @@ partitionHook(char *str) int diskPartitionEditor(char *str) { - int scroll, choice, curr, max; DMenu *menu; menu = deviceCreateMenu(&MenuDiskDevices, DEVICE_TYPE_DISK, partitionHook); @@ -324,8 +323,7 @@ diskPartitionEditor(char *str) msgConfirm("No devices suitable for installation found!\n\nPlease verify that your disk controller (and attached drives) were detected properly. This can be done by selecting the ``Bootmsg'' option on the main menu and reviewing the boot messages carefully."); } else { - choice = scroll = curr = max = 0; - dmenuOpen(menu, &choice, &scroll, &curr, &max); + dmenuOpenSimple(menu); free(menu); } return 0; |