summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2015-10-26 16:27:26 -0500
committerDavid Teigland <teigland@redhat.com>2015-10-26 16:27:26 -0500
commit44ba862674c995e2ed297714d3aa2b2dbd731ad1 (patch)
treeef43a8d0e7d36caee413cd17ba037a1549e6ddd4
parent6624833839645cbe75af073fd1dd9ab8c78e0d03 (diff)
downloadlvm2-44ba862674c995e2ed297714d3aa2b2dbd731ad1.tar.gz
toollib: fix wrong paren placement
-rw-r--r--tools/toollib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/toollib.c b/tools/toollib.c
index 843a47bee..59ba29f4c 100644
--- a/tools/toollib.c
+++ b/tools/toollib.c
@@ -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;