summaryrefslogtreecommitdiff
path: root/Xtranssock.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2011-09-23 22:57:56 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2011-10-01 08:55:18 -0700
commit225c45b3accab56fab361104a3d14b80f6cec954 (patch)
treed4b2770cb0558d68892acb38d326e14a9053de38 /Xtranssock.c
parentb1b69ce8e8e4fe0f190c8bd85b537309e71055c8 (diff)
downloadxorg-lib-libxtrans-225c45b3accab56fab361104a3d14b80f6cec954.tar.gz
Fix printf format string warnings
Now that prmsg lets arguments types actually be checked, fix the warnings found. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.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 c57a117..27a939d 100644
--- a/Xtranssock.c
+++ b/Xtranssock.c
@@ -857,7 +857,7 @@ TRANS(SocketCreateListener) (XtransConnInfo ciptr,
int fd = ciptr->fd;
int retry;
- prmsg (3, "SocketCreateListener(%x,%p)\n", ciptr, fd);
+ prmsg (3, "SocketCreateListener(%p,%d)\n", ciptr, fd);
if (Sockettrans2devtab[ciptr->index].family == AF_INET
#if defined(IPv6) && defined(AF_INET6)