summaryrefslogtreecommitdiff
path: root/redfish-core/src/dbus_log_watcher.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'redfish-core/src/dbus_log_watcher.cpp')
-rw-r--r--redfish-core/src/dbus_log_watcher.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/redfish-core/src/dbus_log_watcher.cpp b/redfish-core/src/dbus_log_watcher.cpp
index 53d35edd5b..76d1a7d19b 100644
--- a/redfish-core/src/dbus_log_watcher.cpp
+++ b/redfish-core/src/dbus_log_watcher.cpp
@@ -79,7 +79,7 @@ static void onDbusEventLogCreated(sdbusplus::message_t& msg)
{
BMCWEB_LOG_DEBUG("Handling new DBus Event Log Entry");
- sdbusplus::message::object_path objectPath;
+ sdbusplus::object_path objectPath;
dbus::utility::DBusInterfacesMap interfaces;
msg.read(objectPath, interfaces);
@@ -111,7 +111,7 @@ DbusEventLogMonitor::DbusEventLogMonitor() :
static void getReadingsForReport(sdbusplus::message_t& msg)
{
- sdbusplus::message::object_path path(msg.get_path());
+ sdbusplus::object_path path(msg.get_path());
std::string id = path.filename();
if (id.empty())
{