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.8.0_pre1^2~840 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=ba0208f1d69c8c403150fb6312214f9b1c972c6d;p=packages%2Fo%2Fopenafs.git xstat: fix a malformed debug message a munged format specifier obscured the missing rn arg. Change-Id: Ic0eb20413123b88e86484a9095beb3e37fdd7ed3 Reviewed-on: http://gerrit.openafs.org/10708 Tested-by: BuildBot Reviewed-by: Marc Dionne Reviewed-by: Derrick Brashear --- diff --git a/src/xstat/xstat_cm.c b/src/xstat/xstat_cm.c index 31ced2bd1..d8600c124 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)); }