Skip to content

Commit 1d07933

Browse files
authored
Merge pull request #7992 from mkurnosov/fix-parsing-locality-str
opal/hwloc: fix a typo in parsing locality string
2 parents 9a0f661 + 4708458 commit 1d07933

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
@@ -1325,7 +1325,7 @@ char* opal_hwloc_base_get_location(char *locality,
13251325
} else if (2 == index) {
13261326
srch = "L2";
13271327
} else {
1328-
srch = "L0";
1328+
srch = "L1";
13291329
}
13301330
break;
13311331
#else
@@ -1336,7 +1336,7 @@ char* opal_hwloc_base_get_location(char *locality,
13361336
srch = "L2";
13371337
break;
13381338
case HWLOC_OBJ_L1CACHE:
1339-
srch = "L0";
1339+
srch = "L1";
13401340
break;
13411341
#endif
13421342
case HWLOC_OBJ_CORE:

0 commit comments

Comments
 (0)