From: Mathieu Desnoyers Date: Mon, 12 Aug 2019 15:46:34 +0000 (-0400) Subject: Fix: index: use parenthesis around define X-Git-Tag: v2.11.0-rc3~72 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=247e3c78adeea366e1348bde0c4fa581f3f52a1a;p=lttng-tools.git 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(