libhsakmt: fix typo in error message

When fail to get CPU dirs from //sys/devices/system/node/nodeX directory,
the error message should print node_dir, not path.

Change-Id: If76a51918c8dd55fa6605a62f3d29f9efc6fadb3
Signed-off-by: Amber Lin <Amber.Lin@amd.com>


[ROCm/ROCR-Runtime commit: 5a09880620]
Этот коммит содержится в:
Amber Lin
2019-09-30 14:29:39 -04:00
родитель 677448a6ea
Коммит 637bbb5c9c
+1 -1
Просмотреть файл
@@ -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;
}