X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fbin%2Flttng-sessiond%2Futils.c;h=6936a03f963de2d0d37a18040f39fbd32b99d2a1;hb=3a5f70173aa04d11ccb22694d5d31a702cad33ab;hp=f84859fc621645aea1939d7c04648c7ac729682a;hpb=763f0d4cef1438d3f1f5f5c5a232d72628bca550;p=lttng-tools.git diff --git a/src/bin/lttng-sessiond/utils.c b/src/bin/lttng-sessiond/utils.c index f84859fc6..6936a03f9 100644 --- a/src/bin/lttng-sessiond/utils.c +++ b/src/bin/lttng-sessiond/utils.c @@ -16,7 +16,7 @@ #include "snapshot.h" #include "lttng-sessiond.h" -int ht_cleanup_pipe[2] = { -1, -1 }; +int the_ht_cleanup_pipe[2] = {-1, -1}; /* * Write to writable pipe used to notify a thread. @@ -41,7 +41,7 @@ int notify_thread_pipe(int wpipe) void ht_cleanup_push(struct lttng_ht *ht) { ssize_t ret; - int fd = ht_cleanup_pipe[1]; + int fd = the_ht_cleanup_pipe[1]; if (!ht) { return; @@ -60,7 +60,7 @@ void ht_cleanup_push(struct lttng_ht *ht) /* All good. Don't send back the write positive ret value. */ ret = 0; error: - assert(!ret); + LTTNG_ASSERT(!ret); } int loglevels_match(int a_loglevel_type, int a_loglevel_value,