summaryrefslogtreecommitdiffstats
path: root/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/main.cpp b/main.cpp
index ee236d9..7bbae28 100644
--- a/main.cpp
+++ b/main.cpp
@@ -60,9 +60,6 @@ static ipmi_ret_t handleBlobCommand(ipmi_cmd_t cmd, const uint8_t* reqBuf,
replyCmdBuf, dataLen);
}
-/* TODO: this should come from the makefile or recipe... */
-constexpr auto expectedHandlerPath = "/usr/lib/blob-ipmid";
-
void setupBlobGlobalHandler() __attribute__((constructor));
void setupBlobGlobalHandler()
@@ -78,7 +75,7 @@ void setupBlobGlobalHandler()
/* Install handlers. */
try
{
- loadLibraries(getBlobManager(), expectedHandlerPath);
+ loadLibraries(getBlobManager(), BLOB_LIB_PATH);
}
catch (const std::exception& e)
{
OpenPOWER on IntegriCloud