Fix: missing parenthesis in offset_align_floor
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 16 Jan 2015 16:33:00 +0000 (11:33 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 16 Jan 2015 16:33:35 +0000 (11:33 -0500)
Is currently unused. Triggers a compile error when used.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
include/lttng/align.h

index 1b8810599382eb20db273d11d8e8c381055626de..ebf03e8dbb0c61a7f724f115e5144b3a7243fb58 100644 (file)
@@ -66,7 +66,7 @@
        ({                                                                     \
                LTTNG_BUILD_RUNTIME_BUG_ON((alignment) == 0                    \
                                   || ((alignment) & ((alignment) - 1)));      \
-               (((align_drift) - (alignment)) & ((alignment) - 1)           \
+               (((align_drift) - (alignment)) & ((alignment) - 1));           \
        })
 
 #endif /* _UST_ALIGN_H */
This page took 0.024786 seconds and 4 git commands to generate.