summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--errors.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/errors.cpp b/errors.cpp
index 9dbbaf0..ed23ffe 100644
--- a/errors.cpp
+++ b/errors.cpp
@@ -25,7 +25,7 @@ namespace manager
void InterfaceError::log() const
{
logging::log<logging::level::ERR>(
- what(), phosphor::logging::entry("INTERFACE=%s", interface));
+ what(), phosphor::logging::entry("INTERFACE=%s", interface.c_str()));
}
} // namespace manager
} // namespace inventory
OpenPOWER on IntegriCloud