From: Mathieu Desnoyers Date: Fri, 13 Jul 2012 21:28:16 +0000 (-0400) Subject: Filter: fix bytecode validation typo X-Git-Tag: v2.1.0-rc1~36 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=fb72494a0993e167b4736c3c655bc38a46c31d9d;p=lttng-ust.git Filter: fix bytecode validation typo Signed-off-by: Mathieu Desnoyers --- diff --git a/liblttng-ust/lttng-filter.c b/liblttng-ust/lttng-filter.c index 901b2fa0..64576e88 100644 --- a/liblttng-ust/lttng-filter.c +++ b/liblttng-ust/lttng-filter.c @@ -966,7 +966,7 @@ int lttng_filter_validate_bytecode(struct bytecode_runtime *bytecode) struct logical_op *insn = (struct logical_op *) pc; if (unlikely(reg[REG_R0].type == REG_TYPE_UNKNOWN - || reg[REG_R0].type == REG_TYPE_UNKNOWN + || reg[REG_R1].type == REG_TYPE_UNKNOWN || reg[REG_R0].type == REG_STRING || reg[REG_R1].type == REG_STRING)) { ERR("Logical comparator can only be applied to numeric and floating point registers\n");