Fix path for FSI slaves
The FSI path moved for the 2nd processor.
Change-Id: Ic462dc7648a68abc7de178e2312bc2368fc06d40
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
diff --git a/targeting.cpp b/targeting.cpp
index e7d8b7a..635c8bb 100644
--- a/targeting.cpp
+++ b/targeting.cpp
@@ -47,7 +47,7 @@
targets.push_back(std::make_unique<Target>(0, fsiMasterPath));
//Find the the remaining P9s dynamically based on which files show up
- std::regex exp{"slave@([0-9]{2}):00", std::regex::extended};
+ std::regex exp{"hub@00/slave@([0-9]{2}):00", std::regex::extended};
for (auto& file : fs::directory_iterator(fsiSlaveBasePath))
{
@@ -59,7 +59,7 @@
if (pos == 0)
{
log<level::ERR>("Unexpected FSI slave device name found",
- entry("DEVICE_NAME=%d", path.c_str()));
+ entry("DEVICE_NAME=%s", path.c_str()));
continue;
}