mirror of
git://sourceware.org/git/lvm2.git
synced 2025-04-01 18:50:41 +03:00
o Fix inverted logic in list_empty test.
This commit is contained in:
parent
33004fcf33
commit
4738f892c2
@ -323,5 +323,5 @@ struct list *create_pv_list(struct pool *mem,
|
||||
list_add(r, &new_pvl->list);
|
||||
}
|
||||
|
||||
return list_empty(r) ? r : NULL;
|
||||
return list_empty(r) ? NULL: r;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user