Fix wrong variable error check
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sat, 7 Jan 2012 19:03:33 +0000 (14:03 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sat, 7 Jan 2012 19:03:33 +0000 (14:03 -0500)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
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.025389 seconds and 4 git commands to generate.