summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/dist.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1997-04-02 12:07:39 +0000
committerjkh <jkh@FreeBSD.org>1997-04-02 12:07:39 +0000
commitdb33110f6eda7d52219545b8e6e29e1764758c60 (patch)
tree934de64fc4d660a7ac8d75880727955cb1db9411 /usr.sbin/sysinstall/dist.c
parent0d592621848f47ed1e691f235515d2f1a3afc5ed (diff)
downloadFreeBSD-src-db33110f6eda7d52219545b8e6e29e1764758c60.zip
FreeBSD-src-db33110f6eda7d52219545b8e6e29e1764758c60.tar.gz
Sync up to current state of development.
Diffstat (limited to 'usr.sbin/sysinstall/dist.c')
-rw-r--r--usr.sbin/sysinstall/dist.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.sbin/sysinstall/dist.c b/usr.sbin/sysinstall/dist.c
index 3e3f91a..ec6ac3a 100644
--- a/usr.sbin/sysinstall/dist.c
+++ b/usr.sbin/sysinstall/dist.c
@@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
- * $Id: dist.c,v 1.103 1997/03/15 18:01:35 jkh Exp $
+ * $Id: dist.c,v 1.73.2.23 1997/03/25 02:45:37 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -390,7 +390,6 @@ distExtract(char *parent, Distribution *me)
char *path, *dist, buf[BUFSIZ];
const char *tmp;
FILE *fp;
- Attribs *dist_attr;
WINDOW *w = savescr();
struct timeval start, stop;
struct sigaction old, new;
@@ -432,7 +431,6 @@ distExtract(char *parent, Distribution *me)
* Try to get distribution as multiple pieces, locating and parsing an
* info file which tells us how many we need for this distribution.
*/
- dist_attr = NULL;
numchunks = 0;
snprintf(buf, sizeof buf, "%s/%s.inf", path, dist);
@@ -457,6 +455,7 @@ distExtract(char *parent, Distribution *me)
}
else if (fp > 0) {
int status;
+ Attribs *dist_attr;
if (isDebug())
msgDebug("Parsing attributes file for distribution %s\n", dist);
OpenPOWER on IntegriCloud