recoverdisk(1): fclose() file supplied via '-r readlist' parameter when

it's no longer needed

PR:		204952
Reported by:	David Binderman <dcb314@hotmail.com>
MFC after:	5 days
This commit is contained in:
avos 2019-02-07 14:40:28 +00:00
parent 3c8a8222e6
commit d997b9accb

View File

@ -125,6 +125,7 @@ read_worklist(off_t t)
new_lump(s, l, state);
d -= l;
}
fclose(file);
(void)fprintf(stderr, " done.\n");
/*
* Return the number of bytes already read