Change PECI device name
PECI device naming pattern has been changed in kernel so this
patch fixes the name to '/dev/peci-0'.
Change-Id: I2f4d14cbdf807bbd5958df2c2cad0c2eba005f29
Signed-off-by: Yoo, Jae Hyun <jae.hyun.yoo@intel.com>
diff --git a/sensors/src/CPUSensorMain.cpp b/sensors/src/CPUSensorMain.cpp
index 32039e9..def889b 100644
--- a/sensors/src/CPUSensorMain.cpp
+++ b/sensors/src/CPUSensorMain.cpp
@@ -60,7 +60,7 @@
static constexpr const char* DT_OVERLAY = "/usr/bin/dtoverlay";
static constexpr const char* OVERLAY_DIR = "/tmp/overlays";
-static constexpr const char* PECI_DEV = "/dev/peci0";
+static constexpr const char* PECI_DEV = "/dev/peci-0";
static constexpr const unsigned int RANK_NUM_MAX = 8;
namespace fs = std::experimental::filesystem;