Skip to content

Commit ec04896

Browse files
authored
Merge pull request #7995 from mkurnosov/fix-parsing-locality-strng
v4.1.x: opal/hwloc: fix a typo in parsing locality string: L0 changed to L1
2 parents 704d019 + 1162003 commit ec04896

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

opal/mca/hwloc/base/hwloc_base_util.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2312,7 +2312,7 @@ char* opal_hwloc_base_get_location(char *locality,
23122312
} else if (2 == index) {
23132313
srch = "L2";
23142314
} else {
2315-
srch = "L0";
2315+
srch = "L1";
23162316
}
23172317
break;
23182318
#else
@@ -2323,7 +2323,7 @@ char* opal_hwloc_base_get_location(char *locality,
23232323
srch = "L2";
23242324
break;
23252325
case HWLOC_OBJ_L1CACHE:
2326-
srch = "L0";
2326+
srch = "L1";
23272327
break;
23282328
#endif
23292329
case HWLOC_OBJ_CORE:

0 commit comments

Comments
 (0)