diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2017-09-20 14:21:38 +0200 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2017-09-20 15:14:16 +0200 |
commit | a02db1c45ab571d0c614d269a713b56cd47c2e1e (patch) | |
tree | d40c2d8beb564f0a0a65639e4086a91f4dba85c4 /libdm/libdm-report.c | |
parent | a65649b45d0d0a417b64bf9918b2aeedb7f3993b (diff) | |
download | lvm2-a02db1c45ab571d0c614d269a713b56cd47c2e1e.tar.gz |
libdm: fix parentheses in assignment + comparison
As reported, fix incorrect placement of parentheses.
TODO: add testing code.
Diffstat (limited to 'libdm/libdm-report.c')
-rw-r--r-- | libdm/libdm-report.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libdm/libdm-report.c b/libdm/libdm-report.c index d2371db7a..05f5ea017 100644 --- a/libdm/libdm-report.c +++ b/libdm/libdm-report.c @@ -3414,7 +3414,7 @@ static int _get_reserved_value(struct dm_report *rh, uint32_t field_num, handler = (dm_report_reserved_handler) tmp_value; if ((r = handler(rh, rh->selection->mem, field_num, DM_REPORT_RESERVED_GET_DYNAMIC_VALUE, - rvw->matched_name, &tmp_value) <= 0)) { + rvw->matched_name, &tmp_value)) <= 0) { if (r == -1) log_error(INTERNAL_ERROR "%s reserved value handler for field %s has missing" "implementation of DM_REPORT_RESERVED_GET_DYNAMIC_VALUE action", |