diff --git a/projects/rocr-runtime/src/topology.c b/projects/rocr-runtime/src/topology.c index 6f1e490a78..327315429a 100644 --- a/projects/rocr-runtime/src/topology.c +++ b/projects/rocr-runtime/src/topology.c @@ -1193,7 +1193,7 @@ static int topology_create_temp_cpu_cache_list(int node, /* Other than cpuY folders, this dir also has cpulist and cpumap */ max_cpus = num_subdirs(node_dir, "cpu"); if (max_cpus <= 0) { - pr_err("Fail to get cpu* dirs under %s\n", path); + pr_err("Fail to get cpu* dirs under %s\n", node_dir); goto exit; }