X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Findex%2Findex.c;h=52a3c2e3fab9c89e2dcd054b8652f7c9582dcfc5;hp=4df0d1b49116e8e177beb358e523f9dcca5f7c90;hb=2ef0da38417d17ed7e485e92572d234fd9e021b3;hpb=ebb29c10d382c55529138ae70eb5a05bf3ccb9a6 diff --git a/src/common/index/index.c b/src/common/index/index.c index 4df0d1b49..52a3c2e3f 100644 --- a/src/common/index/index.c +++ b/src/common/index/index.c @@ -31,7 +31,7 @@ #include "index.h" -#define WRITE_FILE_FLAGS O_WRONLY | O_CREAT | O_TRUNC +#define WRITE_FILE_FLAGS (O_WRONLY | O_CREAT | O_TRUNC) #define READ_ONLY_FILE_FLAGS O_RDONLY static struct lttng_index_file *_lttng_index_file_create_from_trace_chunk(