summaryrefslogtreecommitdiff
path: root/Xtranssock.c
diff options
context:
space:
mode:
authorRin Okuyama <rin@NetBSD.org>2017-02-21 06:18:37 +0000
committerAlan Coopersmith <alan.coopersmith@oracle.com>2018-03-24 18:39:08 -0700
commita97e5fc6e4f294294d75500068892aea11952773 (patch)
tree6226f20f8d143d5caf0b24d006fefe4bdafef7e6 /Xtranssock.c
parent28366676effaa512e43bfd2276a317389a992511 (diff)
avoid -Wformat errors from clang
https://bugs.freedesktop.org/show_bug.cgi?id=99882 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'Xtranssock.c')
-rw-r--r--Xtranssock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Xtranssock.c b/Xtranssock.c
index 56d52ea..b06579c 100644
--- a/Xtranssock.c
+++ b/Xtranssock.c
@@ -1519,7 +1519,7 @@ TRANS(SocketINETConnect) (XtransConnInfo ciptr,
tmpaddr = INADDR_NONE;
}
- prmsg (4,"SocketINETConnect() inet_addr(%s) = %x\n", host, tmpaddr);
+ prmsg (4,"SocketINETConnect() inet_addr(%s) = %lx\n", host, tmpaddr);
if (tmpaddr == INADDR_NONE) {
if ((hostp = _XGethostbyname(host,hparams)) == NULL) {