[Pkg-ofed-commits] [libfabric] 84/123: prov/psm: convert a remaining "perror" to logging function

Ana Beatriz Guerrero López ana at moszumanska.debian.org
Sat Oct 22 12:28:33 UTC 2016


This is an automated email from the git hooks/post-receive script.

ana pushed a commit to annotated tag v1.1.1
in repository libfabric.

commit ee820353e25ae4a7a2cdaa5cc4136b9b6bb07964
Author: Jianxin Xiong <jianxin.xiong at intel.com>
Date:   Fri Sep 18 09:44:28 2015 -0700

    prov/psm: convert a remaining "perror" to logging function
    
    Signed-off-by: Jianxin Xiong <jianxin.xiong at intel.com>
---
 prov/psm/src/psmx_util.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/prov/psm/src/psmx_util.c b/prov/psm/src/psmx_util.c
index 745e3b0..ec21d0a 100644
--- a/prov/psm/src/psmx_util.c
+++ b/prov/psm/src/psmx_util.c
@@ -236,7 +236,8 @@ void *psmx_resolve_name(const char *servername, int port)
 	}
 
 	if (read(sockfd, dest_addr, sizeof(psm_epid_t)) != sizeof(psm_epid_t)) {
-		perror(__func__);
+		FI_INFO(&psmx_prov, FI_LOG_CORE,
+			"error reading response from %s:%d\n", servername, port);
 		free(dest_addr);
 		close(sockfd);
 		return NULL;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ofed/libfabric.git



More information about the Pkg-ofed-commits mailing list