Fix: index: use parenthesis around define
[lttng-tools.git] / src / common / index / index.c
index 4df0d1b49116e8e177beb358e523f9dcca5f7c90..52a3c2e3fab9c89e2dcd054b8652f7c9582dcfc5 100644 (file)
@@ -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(
This page took 0.022958 seconds and 4 git commands to generate.