Minor code cleanup
[lttng-tools.git] / liblttsessiondcomm / liblttsessiondcomm.h
index b52d1dd5b5c19655e617967e773d49ef9d14a15f..0e2c4f07f8814b0c290e1366b8861b7a3fd4e71c 100644 (file)
@@ -39,7 +39,7 @@
 /* Get the error code index from 0 since
  * LTTCOMM_OK start at 1000
  */
-#define LTTCOMM_ERR_INDEX(code) code - LTTCOMM_OK
+#define LTTCOMM_ERR_INDEX(code) (code - LTTCOMM_OK)
 
 enum lttcomm_command_type {
        LTTNG_CREATE_SESSION,
This page took 0.023355 seconds and 4 git commands to generate.