1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

cov: ignore close result

This commit is contained in:
Zdenek Kabelac 2021-10-15 14:42:34 +02:00
parent 6668d6409a
commit e7b5f490c5

View File

@ -86,7 +86,7 @@ static void *_fix_init(struct io_engine *engine)
}
if (!_runs_is_tmpfs) {
close(f->fd);
(void) close(f->fd);
// reopen with O_DIRECT
f->fd = open(f->fname, O_RDWR | O_DIRECT);
T_ASSERT(f->fd >= 0);