1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-27 10:25:13 +03:00

toollib: fix parentheses in assignment + comparison

This commit is contained in:
David Teigland 2017-09-19 09:19:24 -05:00
parent 200793edc6
commit 5407327bc6

View File

@ -4464,7 +4464,7 @@ int process_each_pv(struct cmd_context *cmd,
* from all VGs are processed first, removing them from all_devices. Then
* any devs remaining in all_devices are processed.
*/
if ((ret = _get_all_devices(cmd, &all_devices) != ECMD_PROCESSED)) {
if ((ret = _get_all_devices(cmd, &all_devices)) != ECMD_PROCESSED) {
ret_max = ret;
goto_out;
}