X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-relayd%2Ftracefile-array.c;h=996c43e45363ca51bdead1a70323210e21f332ab;hp=05ce3ad34520c9f09c7bb91fe2b235684c2a106d;hb=a0377dfefe40662ba7d68617bce6ff467114136c;hpb=cc3b9644f017a91d347d7a414387292e3175635e diff --git a/src/bin/lttng-relayd/tracefile-array.c b/src/bin/lttng-relayd/tracefile-array.c index 05ce3ad34..996c43e45 100644 --- a/src/bin/lttng-relayd/tracefile-array.c +++ b/src/bin/lttng-relayd/tracefile-array.c @@ -6,7 +6,6 @@ */ #define _LGPL_SOURCE -#include #include #include #include @@ -168,7 +167,7 @@ bool tracefile_array_seq_in_file(struct tracefile_array *tfa, */ return true; } - assert(file_index < tfa->count); + LTTNG_ASSERT(file_index < tfa->count); if (seq == -1ULL) { return false; }