Change signature of getService

getService() has [bus, interface, path] as parameter and
the caller invoked it with [bus, path, interface] and that
resulted in a failure. Although the fix can be put into the
caller to pass the right arguments, better fix would be to
change the signature of getService() to receive path and then
the interface as that is what has been followed all over and
the deviation resulted in this bug.

Change-Id: I3efe7f4f0a2d0bceb7e6e801cd68de6b2624fbe0
Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
diff --git a/utils.cpp b/utils.cpp
index 1dfdcef..d9a98ee 100644
--- a/utils.cpp
+++ b/utils.cpp
@@ -13,8 +13,8 @@
                             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",