1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

libdm: fix bogus macro causing false parameter count

This commit is contained in:
Heinz Mauelshagen 2015-09-24 14:22:52 +02:00
parent 4e60e62444
commit 1945a0f504

View File

@ -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)