diff options
Diffstat (limited to 'dcmihandler.cpp')
-rw-r--r-- | dcmihandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dcmihandler.cpp b/dcmihandler.cpp index be3e27e..d4f0ff5 100644 --- a/dcmihandler.cpp +++ b/dcmihandler.cpp @@ -1110,7 +1110,7 @@ int64_t getPowerReading(sdbusplus::bus::bus& bus) catch (std::exception& e) { log<level::INFO>("Failure to read power value from D-Bus object", - entry("OBJECT_PATH=%s", objectPath), + entry("OBJECT_PATH=%s", objectPath.c_str()), entry("INTERFACE=%s", SENSOR_VALUE_INTF)); } return power; |