From: Mathieu Desnoyers Date: Thu, 20 Sep 2012 16:50:26 +0000 (-0400) Subject: Fix: emf uri: surround by " " X-Git-Tag: v1.0.0-rc6~20 X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=commitdiff_plain;h=9b3c1d6f8e01603488e317ffef7a8e3c15c98459 Fix: emf uri: surround by " " Signed-off-by: Mathieu Desnoyers --- 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, ", ");