summaryrefslogtreecommitdiffstats
path: root/occ_pass_through.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'occ_pass_through.cpp')
-rw-r--r--occ_pass_through.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/occ_pass_through.cpp b/occ_pass_through.cpp
index 25f3edf..05864c1 100644
--- a/occ_pass_through.cpp
+++ b/occ_pass_through.cpp
@@ -3,7 +3,6 @@
#include <phosphor-logging/log.hpp>
#include "occ_pass_through.hpp"
#include "occ_finder.hpp"
-
namespace open_power
{
namespace occ
@@ -41,7 +40,7 @@ PassThrough::PassThrough(
Iface(bus, path),
path(path)
{
- // Nothing
+ devicePath.append(std::to_string((this->path.back() - '0') + 1));
}
std::vector<int32_t> PassThrough::send(std::vector<int32_t> command)
OpenPOWER on IntegriCloud