Fix getService function signature
There was a input parameter order issues in getService function as
declaration in utils.hpp vs definition in utils.cpp.
Signed-off-by: Vijay Khemka <vijaykhemka@fb.com>
Change-Id: I2a956bce807e31667f508ac4edc6c3261c77b101
diff --git a/libipmid/utils.cpp b/libipmid/utils.cpp
index 21397f9..7c8e0c8 100644
--- a/libipmid/utils.cpp
+++ b/libipmid/utils.cpp
@@ -404,9 +404,9 @@
/********* Begin co-routine yielding alternatives ***************/
-boost::system::error_code getService(Context::ptr ctx, std::string& service,
- const std::string& intf,
- const std::string& path)
+boost::system::error_code getService(Context::ptr ctx, const std::string& intf,
+ const std::string& path,
+ std::string& service)
{
boost::system::error_code ec;
std::map<std::string, std::vector<std::string>> mapperResponse =