add some return values to some shit so it shuts down elegantly on crash
This commit is contained in:
@@ -25,7 +25,7 @@ struct cpuSensors {
|
||||
std::string hwmon;
|
||||
};
|
||||
|
||||
void detectHwmon(cpuSensors* target, const std::string& pci);
|
||||
int detect(cpuSensors* target, const std::string& pci);
|
||||
void update(cpuSensors* c);
|
||||
|
||||
} // namespace cpu
|
||||
|
||||
Reference in New Issue
Block a user