X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=liblttng-ust%2Flttng-context-provider.c;h=5557b137cdc24f4ed68077c7bc72d23f94e7e779;hb=fe94775b5ea73048692bad31448fbc8eb898234e;hp=8e065abe3eb0c650b44fa6c507f26831591c119a;hpb=2c05c691a10f3130f9339a15369140ad6ca70f85;p=lttng-ust.git diff --git a/liblttng-ust/lttng-context-provider.c b/liblttng-ust/lttng-context-provider.c index 8e065abe..5557b137 100644 --- a/liblttng-ust/lttng-context-provider.c +++ b/liblttng-ust/lttng-context-provider.c @@ -71,7 +71,7 @@ int lttng_ust_context_provider_register(struct lttng_ust_context_provider *provi lttng_ust_fixup_tls(); /* Provider name starts with "$app.". */ - if (strncmp("$app.", provider->name, strlen("$app.") != 0)) + if (strncmp("$app.", provider->name, strlen("$app.")) != 0) return -EINVAL; /* Provider name cannot contain a column character. */ if (strchr(provider->name, ':'))