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:
parent
558fe07149
commit
ec835c9dec
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=343871
@ -125,6 +125,7 @@ read_worklist(off_t t)
|
|||||||
new_lump(s, l, state);
|
new_lump(s, l, state);
|
||||||
d -= l;
|
d -= l;
|
||||||
}
|
}
|
||||||
|
fclose(file);
|
||||||
(void)fprintf(stderr, " done.\n");
|
(void)fprintf(stderr, " done.\n");
|
||||||
/*
|
/*
|
||||||
* Return the number of bytes already read
|
* Return the number of bytes already read
|
||||||
|
Loading…
Reference in New Issue
Block a user