Skip to contentSkip to conversation

master - toollib: fix wrong paren placement

PATCH David Teigland 1 participant 1 message Oct 26, 2015

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=44ba862674c995e2ed297714d3aa2b2dbd731ad1
Commit:        44ba862674c995e2ed297714d3aa2b2dbd731ad1
Parent:        6624833839645cbe75af073fd1dd9ab8c78e0d03
Author:        David Teigland <[email protected]>
AuthorDate:    Mon Oct 26 16:27:26 2015 -0500
Committer:     David Teigland <[email protected]>
CommitterDate: Mon Oct 26 16:27:26 2015 -0500

toollib: fix wrong paren placement

---
 tools/toollib.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
tools/toollib.c +1 -1
index 843a47b..59ba29f 100644
@@ -3119,7 +3119,7 @@ int process_each_pv(struct cmd_context *cmd,
 		return ret;
 	}
 
-	if ((ret = _get_arg_devices(cmd, &arg_pvnames, &arg_devices) != ECMD_PROCESSED))
+	if ((ret = _get_arg_devices(cmd, &arg_pvnames, &arg_devices)) != ECMD_PROCESSED)
 		/* get_arg_devices reports the error for any PV names not found. */
 		ret_max = ECMD_FAILED;