From 40dc074227de0985940fd97de81d36372c1ca349 Mon Sep 17 00:00:00 2001 From: Michael Meffie Date: Mon, 13 Jan 2014 15:38:44 -0500 Subject: [PATCH] xstat: fix a malformed debug message a munged format specifier obscured the missing rn arg. Reviewed-on: http://gerrit.openafs.org/10708 Tested-by: BuildBot Reviewed-by: Marc Dionne Reviewed-by: Derrick Brashear (cherry picked from commit ba0208f1d69c8c403150fb6312214f9b1c972c6d) Change-Id: Ie422f4a7be98052fec9281be73eac1823e9ea57f Reviewed-on: http://gerrit.openafs.org/11154 Tested-by: BuildBot Reviewed-by: Chas Williams - CONTRACTOR Reviewed-by: Perry Ruiter Reviewed-by: Stephan Wiesand --- src/xstat/xstat_cm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xstat/xstat_cm.c b/src/xstat/xstat_cm.c index ba67a4be0..e17548f67 100644 --- a/src/xstat/xstat_cm.c +++ b/src/xstat/xstat_cm.c @@ -518,7 +518,7 @@ xstat_cm_Init(int a_numServers, struct sockaddr_in *a_socketArray, */ if (xstat_cm_debug) { printf("[%s] Copying in the following socket info:\n", rn); - printf("[%s] IP addr 0s, port %d\n", + printf("[%s] IP addr %s, port %d\n", rn, afs_inet_ntoa_r((a_socketArray + curr_srv)->sin_addr.s_addr,hoststr), ntohs((a_socketArray + curr_srv)->sin_port)); } -- 2.39.5