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:
Andriy Voskoboinyk 2019-02-07 14:40:28 +00:00
parent 558fe07149
commit ec835c9dec
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=343871

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