summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Spinler <spinler@us.ibm.com>2018-04-25 15:20:38 -0500
committerMatthew Barth <msbarth@us.ibm.com>2018-05-09 10:15:35 -0500
commit84f105b7f83bcafc28f3b9c30592cd754af44719 (patch)
tree3afe2589b01511ec7515b5da53d297198e322aa6
parent33618bc1845e5e7c4e12a2d2ed7f1c47a6a03de1 (diff)
downloadphosphor-fan-presence-84f105b7f83bcafc28f3b9c30592cd754af44719.zip
phosphor-fan-presence-84f105b7f83bcafc28f3b9c30592cd754af44719.tar.gz
Presence: Fix a log metadata entry
Change-Id: I2d7b154de98bef1cb518d036496828c57a391144 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
-rw-r--r--presence/tach.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/presence/tach.cpp b/presence/tach.cpp
index 10eb4f2..a784f94 100644
--- a/presence/tach.cpp
+++ b/presence/tach.cpp
@@ -73,7 +73,7 @@ bool Tach::start()
std::get<int64_t>(s) = 0;
log<level::INFO>(
"Unable to read fan tach sensor.",
- entry("SENSOR=%s", tachPath));
+ entry("SENSOR=%s", tachPath.c_str()));
}
}
OpenPOWER on IntegriCloud