From 2ef0da38417d17ed7e485e92572d234fd9e021b3 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Mon, 12 Aug 2019 11:46:34 -0400 Subject: [PATCH] Fix: index: use parenthesis around define MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Mathieu Desnoyers Signed-off-by: Jérémie Galarneau --- src/common/index/index.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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( -- 2.34.1