X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=formats%2Fctf-text%2Ftypes%2Ffloat.c;h=77651124d000e2bb41942efc7b3ec0385802b5c6;hp=0c559b0eba4e8be23d1ca7d0c3511b3127bd513e;hb=7e18eedf5333dbd6f1e0a8d873a7275dee1ed396;hpb=64fa3fec6c28f1d077812b4bfa06ae73b0f5999d diff --git a/formats/ctf-text/types/float.c b/formats/ctf-text/types/float.c index 0c559b0e..77651124 100644 --- a/formats/ctf-text/types/float.c +++ b/formats/ctf-text/types/float.c @@ -40,8 +40,8 @@ int ctf_text_float_write(struct stream_pos *ppos, struct definition *definition) fprintf(pos->fp, " "); if (pos->print_names) fprintf(pos->fp, "%s = ", - g_quark_to_string(definition->name)); + rem_(g_quark_to_string(definition->name))); - fprintf(pos->fp, "%Lg\n", float_definition->value); + fprintf(pos->fp, "%g", float_definition->value); return 0; }