X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=formats%2Fctf-text%2Ftypes%2Ffloat.c;h=77651124d000e2bb41942efc7b3ec0385802b5c6;hb=8d8ed9afdf03dc0808e25c0e68279bb31d54742f;hp=0c559b0eba4e8be23d1ca7d0c3511b3127bd513e;hpb=64fa3fec6c28f1d077812b4bfa06ae73b0f5999d;p=babeltrace.git 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; }