mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-10 16:58:47 +03:00
clvmd: use pclose
For popened FILE use pclose.
This commit is contained in:
parent
0125518d6d
commit
61d0ae7019
@ -772,8 +772,8 @@ static int get_initial_state(struct dm_hash_table *excl_uuid)
|
||||
}
|
||||
}
|
||||
}
|
||||
if (fclose(lvs))
|
||||
DEBUGLOG("lvs fclose failed: %s\n", strerror(errno));
|
||||
if (pclose(lvs))
|
||||
DEBUGLOG("lvs pclose failed: %s\n", strerror(errno));
|
||||
|
||||
dm_free(lvs_cmd);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user