From ba18ab004566b82b52882326727fa33a297bd05c Mon Sep 17 00:00:00 2001 From: Mark Vitale Date: Tue, 24 Apr 2018 14:41:11 -0400 Subject: [PATCH] ptserver: improve PR_GetHostCPS logging The IP address of the host is logged as a signed number. Instead, log it as the unsigned (and hex) representation of the host IP addr. Reviewed-on: https://gerrit.openafs.org/13043 Reviewed-by: Michael Meffie Tested-by: BuildBot Reviewed-by: Benjamin Kaduk (cherry picked from commit 8225518cd08b810bf3d8c74e27e3d3a753b6b30b) Change-Id: Idbb380fa0c9d71398ea2d47ba49fd217be9f9f26 Reviewed-on: https://gerrit.openafs.org/13147 Tested-by: BuildBot Reviewed-by: Benjamin Kaduk --- src/ptserver/ptprocs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ptserver/ptprocs.c b/src/ptserver/ptprocs.c index 039077ac2..3045ef45f 100644 --- a/src/ptserver/ptprocs.c +++ b/src/ptserver/ptprocs.c @@ -1238,7 +1238,7 @@ SPR_GetHostCPS(struct rx_call *call, afs_int32 ahost, prlist *alist, code = getHostCPS(call, ahost, alist, over, &cid); osi_auditU(call, PTS_GetHCPSEvent, code, AUD_HOST, htonl(ahost), AUD_END); - ViceLog(125, ("PTS_GetHostCPS: code %d ahost %d\n", code, ahost)); + ViceLog(125, ("PTS_GetHostCPS: code %d ahost %u (0x%x)\n", code, ahost, ahost)); return code; } -- 2.39.5