Fix bad log call in dmiinfo trying to directly print std::string instead of c_str

This commit is contained in:
Adam Honse 2024-10-29 20:01:49 -05:00
parent 5cfa0668b9
commit c45e743d87

View file

@ -76,7 +76,7 @@ std::string DMIInfo::readFilePath(std::string path)
{
if(access(path.c_str(), R_OK)!=0)
{
LOG_DEBUG("[DMI Info] Unable to read from %s", path);
LOG_DEBUG("[DMI Info] Unable to read from %s", path.c_str());
return "";
}
std::string read_path;