*/
#define _LGPL_SOURCE
+#include <stddef.h>
+#include <stdint.h>
#include <sys/types.h>
#include <unistd.h>
+
#include <lttng/ust-context-provider.h>
#include "lttng-tracer-core.h"
#include "jhash.h"
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. */
+ /* Provider name cannot contain a colon character. */
if (strchr(provider->name, ':'))
return -EINVAL;
if (ust_lock()) {