oem-ibm: FFDC enhancement changes
Added fine tuned first failure data capture traces in the system
and resource dump related paths.
Signed-off-by: Jayashankar Padath <jayashankar.padath@in.ibm.com>
Change-Id: I484853eb1fa79e166daa87dd374966d94faa36f6
diff --git a/oem/ibm/libpldmresponder/utils.cpp b/oem/ibm/libpldmresponder/utils.cpp
index 44c6874..7b0bd09 100644
--- a/oem/ibm/libpldmresponder/utils.cpp
+++ b/oem/ibm/libpldmresponder/utils.cpp
@@ -15,7 +15,6 @@
{
namespace utils
{
-
int setupUnixSocket(const std::string& socketInterface)
{
int sock;
@@ -39,7 +38,8 @@
if (bind(sock, (struct sockaddr*)&addr, sizeof(addr)) == -1)
{
- std::cerr << "setupUnixSocket: bind() call failed" << std::endl;
+ std::cerr << "setupUnixSocket: bind() call failed with errno " << errno
+ << std::endl;
close(sock);
return -1;
}