master - libdm: fix bogus macro causing false parameter count
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=1945a0f50415c024d706d29c39604347c4de883d Commit: 1945a0f50415c024d706d29c39604347c4de883d Parent: 4e60e6244456785c88dcd5bc0998a348a639c17b Author: Heinz Mauelshagen <[email protected]> AuthorDate: Thu Sep 24 14:22:52 2015 +0200 Committer: Heinz Mauelshagen <[email protected]> CommitterDate: Thu Sep 24 14:22:52 2015 +0200
libdm: fix bogus macro causing false parameter count
--- libdm/libdm-deptree.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
libdm/libdm-deptree.c +1 -1
@@ -2371,7 +2371,7 @@ static int _mirror_emit_segment_line(struct dm_task *dmt, struct load_segment *s }/* Is parameter non-zero? */ -#define PARAM_IS_SET (p) (p) ? 1 : 0 +#define PARAM_IS_SET (p) ((p) ? 1 : 0)/* Return number of bits assuming 4 * 64 bit size */ static int _get_params_count (uint64_t bits)