[PATCH phosphor-host-ipmid] added debug on method call fails

OpenBMC Patches openbmc-patches at stwcx.xyz
Tue Dec 8 14:40:23 AEDT 2015


From: Chris Austen <austenc at us.ibm.com>

---
 ipmid.C | 2 ++
 1 file changed, 2 insertions(+)

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 @@ static int send_ipmi_message(sd_bus_message *req, unsigned char seq, unsigned ch
     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;
     }
 
-- 
2.6.3




More information about the openbmc mailing list