lib/ctf-ir/clock-class.c: serialize `true`/`false` instead of `TRUE`/`FALSE`
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Wed, 5 Jul 2017 23:13:39 +0000 (19:13 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 6 Jul 2017 21:25:03 +0000 (17:25 -0400)
The `signed` attribute of an integer field type is serialized in
lowercase.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
lib/ctf-ir/clock-class.c

index 751fe554330d12b3068af94b573b3c0e05f44b84..a7ac560d5a270085a26da6c50ea13c41eb2d11aa 100644 (file)
@@ -580,7 +580,7 @@ void bt_ctf_clock_class_serialize(struct bt_ctf_clock_class *clock_class,
        g_string_append_printf(context->string, "\toffset = %" PRIu64 ";\n",
                clock_class->offset);
        g_string_append_printf(context->string, "\tabsolute = %s;\n",
-               clock_class->absolute ? "TRUE" : "FALSE");
+               clock_class->absolute ? "true" : "false");
        g_string_append(context->string, "};\n\n");
 }
 
This page took 0.024444 seconds and 4 git commands to generate.