X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fbin%2Flttng-sessiond%2Futils.c;h=6936a03f963de2d0d37a18040f39fbd32b99d2a1;hb=a0377dfefe40662ba7d68617bce6ff467114136c;hp=f84859fc621645aea1939d7c04648c7ac729682a;hpb=ab5be9fa2eb5ba9600a82cd18fd3cfcbac69169a;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,