X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=liblttng-ust%2Flttng-context-provider.c;h=50f73c6253cf340d90485540ce154dfdafd24d72;hb=fb31eb73d8a4a6d9784ed5c335b7fa3b9684108c;hp=5557b137cdc24f4ed68077c7bc72d23f94e7e779;hpb=fe94775b5ea73048692bad31448fbc8eb898234e;p=lttng-ust.git diff --git a/liblttng-ust/lttng-context-provider.c b/liblttng-ust/lttng-context-provider.c index 5557b137..50f73c62 100644 --- a/liblttng-ust/lttng-context-provider.c +++ b/liblttng-ust/lttng-context-provider.c @@ -21,8 +21,11 @@ */ #define _LGPL_SOURCE +#include +#include #include #include + #include #include "lttng-tracer-core.h" #include "jhash.h" @@ -73,7 +76,7 @@ int lttng_ust_context_provider_register(struct lttng_ust_context_provider *provi /* Provider name starts with "$app.". */ if (strncmp("$app.", provider->name, strlen("$app.")) != 0) return -EINVAL; - /* Provider name cannot contain a column character. */ + /* Provider name cannot contain a colon character. */ if (strchr(provider->name, ':')) return -EINVAL; if (ust_lock()) {