X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Ferror.c;h=1e3bd2d9b5137b5ea2f82391b1d5b79b70001694;hp=4d6b26b229c0a8773fe9ebb427b880c5986afc84;hb=a0377dfefe40662ba7d68617bce6ff467114136c;hpb=cc3b9644f017a91d347d7a414387292e3175635e diff --git a/src/common/error.c b/src/common/error.c index 4d6b26b22..1e3bd2d9b 100644 --- a/src/common/error.c +++ b/src/common/error.c @@ -6,7 +6,6 @@ */ #define _LGPL_SOURCE -#include #include #include #include @@ -74,7 +73,7 @@ void logger_set_thread_name(const char *name, bool set_pthread_name) { int ret; - assert(name); + LTTNG_ASSERT(name); URCU_TLS(logger_thread_name) = name; if (set_pthread_name) {