diff options
author | Emily Shaffer <emilyshaffer@google.com> | 2017-04-05 15:09:41 -0700 |
---|---|---|
committer | Emily Shaffer <emilyshaffer@google.com> | 2017-06-06 10:55:40 -0700 |
commit | 2ae09b9a5cdcf5991b8a30688e89ab26f43a3f27 (patch) | |
tree | 7579ba68b1f2b25c8e2725b57fee126c2d7cebe7 /testaddsel.cpp | |
parent | fca6a4fc4baddf4880fe4d54d77a424bced21c76 (diff) | |
download | phosphor-host-ipmid-2ae09b9a5cdcf5991b8a30688e89ab26f43a3f27.tar.gz phosphor-host-ipmid-2ae09b9a5cdcf5991b8a30688e89ab26f43a3f27.zip |
sensorhandler: Refactor find_openbmc_path to check sensor map first
Change-Id: I846d538643af77705d5160bf4d9127f758b5c749
Signed-off-by: Emily Shaffer <emilyshaffer@google.com>
Diffstat (limited to 'testaddsel.cpp')
-rw-r--r-- | testaddsel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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"; |