summaryrefslogtreecommitdiffstats
path: root/main.cpp
diff options
context:
space:
mode:
authorPatrick Venture <venture@google.com>2018-11-21 14:19:28 -0800
committerPatrick Venture <venture@google.com>2018-11-28 08:47:53 -0800
commitc18e2b649691e393f0c6e0fcd9af288b68d7d9b5 (patch)
tree50b0ea97c204c1b43d32303f8a3ce0b115eaf98f /main.cpp
parent2536863d32314250b94794143d6cadaf8e8c86fe (diff)
downloadphosphor-ipmi-blobs-c18e2b649691e393f0c6e0fcd9af288b68d7d9b5.tar.gz
phosphor-ipmi-blobs-c18e2b649691e393f0c6e0fcd9af288b68d7d9b5.zip
add dynamic library interface to enable testing
Add interface defining the methods for dynamic linking to enable testing. Change-Id: If4d090d3cedc019b426435a1f651191803bfc1a9 Signed-off-by: Patrick Venture <venture@google.com>
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.cpp b/main.cpp
index 5fdb53d..ee236d9 100644
--- a/main.cpp
+++ b/main.cpp
@@ -78,7 +78,7 @@ void setupBlobGlobalHandler()
/* Install handlers. */
try
{
- loadLibraries(expectedHandlerPath);
+ loadLibraries(getBlobManager(), expectedHandlerPath);
}
catch (const std::exception& e)
{
OpenPOWER on IntegriCloud