Fix wrong variable error check
[babeltrace.git] / formats / ctf / ctf.c
index 0f216933b6c06c215e8fba048c23f03e7c24fd22..752213ec1d74cc26ef1866b08b2f36646c256b3f 100644 (file)
@@ -1264,7 +1264,7 @@ int ctf_open_trace_read(struct ctf_trace *td, const char *collection_path,
                return -EINVAL;
        }
        respath = realpath(path, td->path);
-       if (!rescolpath) {
+       if (!respath) {
                fprintf(stdout, "[error] path resolution failure\n");
                return -EINVAL;
        }
This page took 0.023967 seconds and 4 git commands to generate.