diff options
Diffstat (limited to 'powercap.cpp')
-rw-r--r-- | powercap.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/powercap.cpp b/powercap.cpp index 0aca3e4..f2ae331 100644 --- a/powercap.cpp +++ b/powercap.cpp @@ -118,7 +118,7 @@ void PowerCap::writeOcc(uint32_t pcapValue) // Create path out to master occ hwmon entry std::unique_ptr<fs::path> fileName = std::make_unique<fs::path>(OCC_HWMON_PATH); - *fileName /= OCC_MASTER_NAME; + *fileName /= occMasterName; *fileName /= "/hwmon/"; // Need to get the hwmonXX directory name, there better only be 1 dir |