From: Michael Meffie Date: Mon, 13 Jan 2014 20:38:44 +0000 (-0500) Subject: xstat: fix a malformed debug message X-Git-Tag: upstream/1.6.10_pre1^2~102 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=40dc074227de0985940fd97de81d36372c1ca349;p=packages%2Fo%2Fopenafs.git 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 --- 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)); }