Fix float support
[babeltrace.git] / formats / ctf-text / types / float.c
index 2b0dccecc9a3a3b68948a7e04c3c8d4eb654a2a5..77651124d000e2bb41942efc7b3ec0385802b5c6 100644 (file)
@@ -42,6 +42,6 @@ int ctf_text_float_write(struct stream_pos *ppos, struct definition *definition)
                fprintf(pos->fp, "%s = ",
                        rem_(g_quark_to_string(definition->name)));
 
-       fprintf(pos->fp, "%Lg\n", float_definition->value);
+       fprintf(pos->fp, "%g", float_definition->value);
        return 0;
 }
This page took 0.023191 seconds and 4 git commands to generate.