From 2ae09b9a5cdcf5991b8a30688e89ab26f43a3f27 Mon Sep 17 00:00:00 2001 From: Emily Shaffer Date: Wed, 5 Apr 2017 15:09:41 -0700 Subject: sensorhandler: Refactor find_openbmc_path to check sensor map first Change-Id: I846d538643af77705d5160bf4d9127f758b5c749 Signed-off-by: Emily Shaffer --- testaddsel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testaddsel.cpp') diff --git a/testaddsel.cpp b/testaddsel.cpp index 4023629..90f63a2 100644 --- a/testaddsel.cpp +++ b/testaddsel.cpp @@ -15,7 +15,7 @@ sd_bus *bus = NULL; // Use a lookup table to find the interface name of a specific sensor // This will be used until an alternative is found. this is the first // step for mapping IPMI -int find_openbmc_path(const char *type, const uint8_t num, dbus_interface_t *interface) { +int find_openbmc_path(const uint8_t num, dbus_interface_t *interface) { const char *objname = "/org/openbmc/managers/System"; -- cgit v1.2.1