commit | 6bd23961953667a89721eaf4ba073c670c6db48d | [log] [tgz] |
---|---|---|
author | Chris Austen <austenc@us.ibm.com> | Mon Dec 07 21:31:48 2015 -0600 |
committer | Chris Austen <austenc@us.ibm.com> | Mon Dec 07 21:31:48 2015 -0600 |
tree | d8f341acaf0378406e32a7a93b7cce750a4051d7 | |
parent | 903327c4e9f901a692939338b0b4651aa815cedd [diff] |
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; }