PHAL: Use fmt::join to log uint8_t array
Fix the compilation issue generated due to stricter type check
with in the library
Signed-off-by: Deepakala <deepakala.karthikeyan@ibm.com>
Change-Id: I25fcd55c8a2fbd787ea1af57a7d4e5360c30b415
diff --git a/extensions/phal/phal_error.cpp b/extensions/phal/phal_error.cpp
index f9869a3..b01985f 100644
--- a/extensions/phal/phal_error.cpp
+++ b/extensions/phal/phal_error.cpp
@@ -168,9 +168,9 @@
&targetInfo);
if (ret == 0)
{
- log<level::ERR>(fmt::format("Given ATTR_PHYS_BIN_PATH value({}) "
+ log<level::ERR>(fmt::format("Given ATTR_PHYS_BIN_PATH value({:02x}) "
"not found in phal device tree",
- targetInfo.physBinPath)
+ fmt::join(targetInfo.physBinPath, ""))
.c_str());
return false;
}