Add missing () to metadata for sequence
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 1 Jun 2011 20:03:14 +0000 (16:03 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 1 Jun 2011 20:03:14 +0000 (16:03 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
ltt-events.c

index f98ef309e0ec47e3ee9c4bf8de0abbf2d4c93773..a4bc1544189acb35fe623ccba2a59186257b0f16 100644 (file)
@@ -476,15 +476,14 @@ int _ltt_field_statedump(struct ltt_session *session,
                        length_type->u.basic.integer.signedness,
                        (length_type->u.basic.integer.encoding == lttng_encode_none)
                                ? "none"
-                               : (length_type->u.basic.integer.encoding == lttng_encode_UTF8)
+                               : ((length_type->u.basic.integer.encoding == lttng_encode_UTF8)
                                        ? "UTF8"
-                                       : "ASCII",
+                                       : "ASCII"),
                        length_type->u.basic.integer.base,
 #ifdef __BIG_ENDIAN
                        length_type->u.basic.integer.reverse_byte_order ? " byte_order = le;" : "",
 #else
-                       length_type->u.basic.integer.reverse_byte_order
-? " byte_order = be;" : "",
+                       length_type->u.basic.integer.reverse_byte_order ? " byte_order = be;" : "",
 #endif
                        field->name,
                        elem_type->u.basic.integer.size,
@@ -492,9 +491,9 @@ int _ltt_field_statedump(struct ltt_session *session,
                        elem_type->u.basic.integer.signedness,
                        (elem_type->u.basic.integer.encoding == lttng_encode_none)
                                ? "none"
-                               : (elem_type->u.basic.integer.encoding == lttng_encode_UTF8)
+                               : ((elem_type->u.basic.integer.encoding == lttng_encode_UTF8)
                                        ? "UTF8"
-                                       : "ASCII",
+                                       : "ASCII"),
                        elem_type->u.basic.integer.base,
 #ifdef __BIG_ENDIAN
                        elem_type->u.basic.integer.reverse_byte_order ? " byte_order = le;" : "",
This page took 0.026814 seconds and 4 git commands to generate.