X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=formats%2Fctf%2Fctf.c;fp=formats%2Fctf%2Fctf.c;h=475d6f72f3e3af0936b078af14c448926fc947b0;hp=597e8d25f9e97baf2852d468a2422d3ae7aa377a;hb=0cbbc8b84ffc3d1444018015b8b9d5c229929281;hpb=03f61deac0883d8ddbb970ed4b5be18eed780d12 diff --git a/formats/ctf/ctf.c b/formats/ctf/ctf.c index 597e8d25..475d6f72 100644 --- a/formats/ctf/ctf.c +++ b/formats/ctf/ctf.c @@ -1415,7 +1415,7 @@ int ctf_trace_metadata_stream_read(struct ctf_trace *td, FILE **fp, * because its size includes garbage at the end (after final * \0). This is the allocated size, not the actual string size. */ - out = babeltrace_open_memstream(buf, &size); + out = bt_open_memstream(buf, &size); if (out == NULL) { perror("Metadata open_memstream"); return -errno; @@ -1431,7 +1431,7 @@ int ctf_trace_metadata_stream_read(struct ctf_trace *td, FILE **fp, } } /* close to flush the buffer */ - ret = babeltrace_close_memstream(buf, &size, out); + ret = bt_close_memstream(buf, &size, out); if (ret < 0) { int closeret; @@ -1453,7 +1453,7 @@ int ctf_trace_metadata_stream_read(struct ctf_trace *td, FILE **fp, *fp = NULL; return -ENOENT; } - *fp = babeltrace_fmemopen(*buf, buflen, "rb"); + *fp = bt_fmemopen(*buf, buflen, "rb"); if (!*fp) { perror("Metadata fmemopen"); return -errno;