diff options
Diffstat (limited to 'env.cpp')
-rw-r--r-- | env.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -52,6 +52,7 @@ std::string getEnv( std::string getIndirectID( std::string path, + const std::string& fileSuffix, const SensorSet::key_type& sensor) { std::string content; @@ -59,7 +60,7 @@ std::string getIndirectID( path.append(sensor.first); path.append(sensor.second); path.append(1, '_'); - path.append(hwmon::entry::label); + path.append(fileSuffix); std::ifstream handle(path.c_str()); if (!handle.fail()) |