Fix bad log call in dmiinfo trying to directly print std::string instead of c_str
This commit is contained in:
parent
5cfa0668b9
commit
c45e743d87
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue