aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/sysinstall/devices.c
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1995-05-07 05:58:57 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1995-05-07 05:58:57 +0000
commit2b0e7dfa1372ac3a10b57bb39454e7b80d12dd87 (patch)
tree65e6b49b34e433504814167680e5524e0c289226 /usr.sbin/sysinstall/devices.c
parent2f279396624c47741234774ab96833698c9879cb (diff)
downloadsrc-2b0e7dfa1372ac3a10b57bb39454e7b80d12dd87.tar.gz
src-2b0e7dfa1372ac3a10b57bb39454e7b80d12dd87.zip
Make this compile again. Poul and I need to sync up again.
Notes
Notes: svn path=/head/; revision=8317
Diffstat (limited to 'usr.sbin/sysinstall/devices.c')
-rw-r--r--usr.sbin/sysinstall/devices.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/sysinstall/devices.c b/usr.sbin/sysinstall/devices.c
index d36158080056..0c135712d743 100644
--- a/usr.sbin/sysinstall/devices.c
+++ b/usr.sbin/sysinstall/devices.c
@@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
- * $Id: devices.c,v 1.6 1995/05/06 09:34:09 jkh Exp $
+ * $Id: devices.c,v 1.7 1995/05/07 03:37:58 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -86,6 +86,7 @@ record_chunks(struct disk *d)
if (!d->chunks)
msgFatal("No chunk list found for %s!", d->name);
c1 = d->chunks->part;
+ current_chunk = 0;
while (c1) {
if (c1->type == unused && c1->size > last_free) {
last_free = c1->size;