commit | 563df303cef7d2f9975ed1d24f92daf79eb37242 | [log] [tgz] |
---|---|---|
author | Patrick Williams <patrick@stwcx.xyz> | Fri Jan 08 20:21:17 2016 -0600 |
committer | Patrick Williams <patrick@stwcx.xyz> | Fri Jan 08 20:21:17 2016 -0600 |
tree | d8f341acaf0378406e32a7a93b7cce750a4051d7 | |
parent | 903327c4e9f901a692939338b0b4651aa815cedd [diff] | |
parent | 6bd23961953667a89721eaf4ba073c670c6db48d [diff] |
Merge pull request #52 from causten/sensors added debug on method call fails
diff --git a/ipmid.C b/ipmid.C index 76e612d..6071cb3 100644 --- a/ipmid.C +++ b/ipmid.C
@@ -14,6 +14,7 @@ #include "sensorhandler.h" + sd_bus *bus = NULL; FILE *ipmiio, *ipmidbus, *ipmicmddetails; @@ -214,6 +215,7 @@ r = sd_bus_call(bus, m, 0, &error, &reply); if (r < 0) { fprintf(stderr, "Failed to call the method: %s\n", strerror(-r)); + fprintf(stderr, "Dest: %s, Path: %s\n", dest, path); goto final; }