aboutsummaryrefslogtreecommitdiff
path: root/nx-X11
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2016-10-13 19:08:37 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2016-11-02 19:46:36 +0100
commit247e1f72e54c9a243590155f42a7b0a0dcb59d33 (patch)
tree4f621ebcfd5ddc1bb10f6325fe2a9f46041cf225 /nx-X11
parentc3f43e832a8062169f999f3a5c298fe3f40ab9e8 (diff)
downloadnx-libs-247e1f72e54c9a243590155f42a7b0a0dcb59d33.tar.gz
nx-libs-247e1f72e54c9a243590155f42a7b0a0dcb59d33.tar.bz2
nx-libs-247e1f72e54c9a243590155f42a7b0a0dcb59d33.zip
use %p in format strings
Diffstat (limited to 'nx-X11')
-rw-r--r--nx-X11/lib/xtrans/Xtranssock.c8
-rw-r--r--nx-X11/lib/xtrans/Xtransutil.c2
2 files changed, 5 insertions, 5 deletions
diff --git a/nx-X11/lib/xtrans/Xtranssock.c b/nx-X11/lib/xtrans/Xtranssock.c
index ae00776e4..2dbdb9c55 100644
--- a/nx-X11/lib/xtrans/Xtranssock.c
+++ b/nx-X11/lib/xtrans/Xtranssock.c
@@ -345,7 +345,7 @@ void TRANS(SocketRejectConnection) (XtransConnInfo ciptr)
struct timeval t;
int f;
- prmsg (3, "SocketRejectConnection(%x)\n", ciptr);
+ prmsg (3, "SocketRejectConnection(%p)\n", ciptr);
FD_ZERO(&fs);
FD_SET(ciptr -> fd, &fs);
@@ -639,7 +639,7 @@ int TRANS(SocketCongestionChange) (XtransConnInfo ciptr, int *state)
_NXProxyConnInfo *proxy_conn;
- prmsg (3, "SocketCongestionChange(%x)\n", ciptr);
+ prmsg (3, "SocketCongestionChange(%p)\n", ciptr);
proxy_conn = (_NXProxyConnInfo *) ciptr->priv;
@@ -1320,7 +1320,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)
@@ -2906,7 +2906,7 @@ TRANS(SocketUNIXClose) (XtransConnInfo ciptr)
struct sockaddr_un *sockname = (struct sockaddr_un *) ciptr->addr;
int ret;
- prmsg (2,"SocketUNIXClose(%x,%d)\n", ciptr, ciptr->fd);
+ prmsg (2,"SocketUNIXClose(%p,%d)\n", ciptr, ciptr->fd);
#if defined(NX_TRANS_SOCKET) && defined(TRANS_CLIENT)
diff --git a/nx-X11/lib/xtrans/Xtransutil.c b/nx-X11/lib/xtrans/Xtransutil.c
index 96be48fba..53fd7d75b 100644
--- a/nx-X11/lib/xtrans/Xtransutil.c
+++ b/nx-X11/lib/xtrans/Xtransutil.c
@@ -87,7 +87,7 @@ TRANS(ConvertAddress)(int *familyp, int *addrlenp, Xtransaddr **addrp)
{
- prmsg(2,"ConvertAddress(%d,%d,%x)\n",*familyp,*addrlenp,*addrp);
+ prmsg(2,"ConvertAddress(%d,%d,%p)\n",*familyp,*addrlenp,*addrp);
switch( *familyp )
{