mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
dmfilemapd: assign 0 to integer
Avoid mixing enumeration assign with 0, so just pick some integer from filemap_monitor, stucture will be fully zeroed anyway....
This commit is contained in:
parent
d58a2644e6
commit
c6b5eb5b50
@ -812,7 +812,7 @@ static const char _mode_names[][8] = {
|
||||
*/
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
struct filemap_monitor fm = { 0 };
|
||||
struct filemap_monitor fm = { .fd = 0 };
|
||||
|
||||
if (!_parse_args(argc, argv, &fm)) {
|
||||
free(fm.path);
|
||||
|
Loading…
Reference in New Issue
Block a user