From c45e743d87a3735a4eb900f2141c62355004e356 Mon Sep 17 00:00:00 2001 From: Adam Honse Date: Tue, 29 Oct 2024 20:01:49 -0500 Subject: [PATCH] Fix bad log call in dmiinfo trying to directly print std::string instead of c_str --- dmiinfo/dmiinfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dmiinfo/dmiinfo.cpp b/dmiinfo/dmiinfo.cpp index da8ea97e..d09fa164 100644 --- a/dmiinfo/dmiinfo.cpp +++ b/dmiinfo/dmiinfo.cpp @@ -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;