From: Mathieu Desnoyers Date: Mon, 12 Aug 2019 15:46:34 +0000 (-0400) Subject: Fix: index: use parenthesis around define X-Git-Tag: v2.12.0-rc1~504 X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=2ef0da38417d17ed7e485e92572d234fd9e021b3 Fix: index: use parenthesis around define Signed-off-by: Mathieu Desnoyers Signed-off-by: Jérémie Galarneau --- 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(