diff options
author | cvs2svn <cvs2svn@FreeBSD.org> | 1997-03-27 03:07:27 +0000 |
---|---|---|
committer | cvs2svn <cvs2svn@FreeBSD.org> | 1997-03-27 03:07:27 +0000 |
commit | 1784d64eb85eb63599204bb31b826970b6661e65 (patch) | |
tree | 31089dd6c9e4a7feeac25f24574e6269b75f5db0 /release/sysinstall/dist.c | |
parent | fe49c1266233ddc2306072aefb4e1c1d045060fe (diff) |
Diffstat (limited to 'release/sysinstall/dist.c')
-rw-r--r-- | release/sysinstall/dist.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/release/sysinstall/dist.c b/release/sysinstall/dist.c index 6a47e045e92d9..769cdbe4d3153 100644 --- a/release/sysinstall/dist.c +++ b/release/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.73.2.22 1997/03/15 18:00:28 jkh Exp $ + * $Id: dist.c,v 1.73.2.24 1997/03/28 09:30:14 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); |