X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=lttng-filter-validator.c;h=446fc41bbda9b657a615871ed779b59c2b527227;hb=5283350bf46f4cec3de30e4fc9b215d88d020d98;hp=a996945d59143855fa17c80adb6d7b5d22c421c7;hpb=499cc3f7084333841d4befbd1c4a81dbcf139a89;p=lttng-modules.git diff --git a/lttng-filter-validator.c b/lttng-filter-validator.c index a996945d..446fc41b 100644 --- a/lttng-filter-validator.c +++ b/lttng-filter-validator.c @@ -104,8 +104,9 @@ int merge_point_add_check(struct mp_table *mp_table, unsigned long target_pc, target_pc); return -EINVAL; } + } else { + hlist_add_head(&mp_node->node, head); } - hlist_add_head(&mp_node->node, head); return 0; }