From 9b3c1d6f8e01603488e317ffef7a8e3c15c98459 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Thu, 20 Sep 2012 12:50:26 -0400 Subject: [PATCH 1/1] Fix: emf uri: surround by " " Signed-off-by: Mathieu Desnoyers --- formats/ctf-text/ctf-text.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/formats/ctf-text/ctf-text.c b/formats/ctf-text/ctf-text.c index ca44a6fd..e23bb9e2 100644 --- a/formats/ctf-text/ctf-text.c +++ b/formats/ctf-text/ctf-text.c @@ -393,7 +393,7 @@ int ctf_text_write_event(struct stream_pos *ppos, struct ctf_stream_definition * } else if (dom_print) { fprintf(pos->fp, ":"); } - fprintf(pos->fp, "%s", + fprintf(pos->fp, "\"%s\"", g_quark_to_string(event_class->model_emf_uri)); if (pos->print_names) fprintf(pos->fp, ", "); -- 2.34.1