From ba0208f1d69c8c403150fb6312214f9b1c972c6d 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. Change-Id: Ic0eb20413123b88e86484a9095beb3e37fdd7ed3 Reviewed-on: http://gerrit.openafs.org/10708 Tested-by: BuildBot Reviewed-by: Marc Dionne Reviewed-by: Derrick Brashear --- 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 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)); } -- 2.39.5