From 84f105b7f83bcafc28f3b9c30592cd754af44719 Mon Sep 17 00:00:00 2001 From: Matt Spinler Date: Wed, 25 Apr 2018 15:20:38 -0500 Subject: Presence: Fix a log metadata entry Change-Id: I2d7b154de98bef1cb518d036496828c57a391144 Signed-off-by: Matt Spinler --- presence/tach.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(s) = 0; log( "Unable to read fan tach sensor.", - entry("SENSOR=%s", tachPath)); + entry("SENSOR=%s", tachPath.c_str())); } } -- cgit v1.2.1