Fix kFreeBSD build
[babeltrace.git] / formats / ctf / ctf.c
index 4e4aabff9ec31d948b9ce6397b202eae9d8e99dd..25f2caff3b5155a033f90363efbcc26a4e9b03ae 100644 (file)
@@ -1037,7 +1037,7 @@ int ctf_open_trace_metadata_stream_read(struct ctf_trace *td, FILE **fp,
        buflen = strlen(*buf);
        if (!buflen) {
                *fp = NULL;
-               return -ENODATA;
+               return -ENOENT;
        }
        *fp = babeltrace_fmemopen(*buf, buflen, "rb");
        if (!*fp) {
This page took 0.023272 seconds and 4 git commands to generate.