summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--utils.cpp4
-rw-r--r--utils.hpp6
2 files changed, 5 insertions, 5 deletions
diff --git a/utils.cpp b/utils.cpp
index 1dfdcef..d9a98ee 100644
--- a/utils.cpp
+++ b/utils.cpp
@@ -13,8 +13,8 @@ using InternalFailure = sdbusplus::xyz::openbmc_project::Common::
Error::InternalFailure;
std::string getService(sdbusplus::bus::bus& bus,
- const std::string& intf,
- const std::string& path)
+ const std::string& path,
+ const std::string& intf)
{
auto mapperCall = bus.new_method_call("xyz.openbmc_project.ObjectMapper",
"/xyz/openbmc_project/object_mapper",
diff --git a/utils.hpp b/utils.hpp
index 51f9832..33088df 100644
--- a/utils.hpp
+++ b/utils.hpp
@@ -10,14 +10,14 @@ namespace occ
* @brief Gets the D-Bus Service name for the input D-Bus path
*
* @param[in] bus - Bus handler
- * @param[in] intf - Interface
* @param[in] path - Object Path
+ * @param[in] intf - Interface
*
* @return Service name
* @error InternalFailure exception thrown
*/
std::string getService(sdbusplus::bus::bus& bus,
- const std::string& intf,
- const std::string& path);
+ const std::string& path,
+ const std::string& intf);
} // namespace occ
} // namespace open_power
OpenPOWER on IntegriCloud