From e32ff7035ef1efc0c61c3cb7ec2c4b7ca32f48c4 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Thu, 31 Oct 2013 15:02:38 -0400 Subject: [PATCH] ctf-writer: Coding style fix Signed-off-by: Mathieu Desnoyers --- formats/ctf/writer/writer.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/formats/ctf/writer/writer.c b/formats/ctf/writer/writer.c index 7490715e..d0fad8fb 100644 --- a/formats/ctf/writer/writer.c +++ b/formats/ctf/writer/writer.c @@ -355,12 +355,13 @@ static void append_trace_metadata(struct bt_ctf_writer *writer, struct metadata_context *context) { + unsigned char *uuid = writer->uuid; + g_string_append(context->string, "trace {\n"); g_string_append(context->string, "\tmajor = 1;\n"); g_string_append(context->string, "\tminor = 8;\n"); - unsigned char *uuid = writer->uuid; g_string_append_printf(context->string, "\tuuid = \"%02x%02x%02x%02x-%02x%02x-%02x%02x-%02x%02x-%02x%02x%02x%02x%02x%02x\";\n", uuid[0], uuid[1], uuid[2], uuid[3], -- 2.34.1