summaryrefslogtreecommitdiffstats
path: root/select/test.c
diff options
context:
space:
mode:
Diffstat (limited to 'select/test.c')
-rw-r--r--select/test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/select/test.c b/select/test.c
index 1dbe284..63f1986 100644
--- a/select/test.c
+++ b/select/test.c
@@ -63,7 +63,7 @@ getClients (unsigned short port)
if (s1 < 0)
rtems_panic ("Can't accept connection: %s", strerror (errno));
else
- printf ("ACCEPTED:%lX\n", ntohl (farAddr.sin_addr.s_addr));
+ printf ("ACCEPTED:%X\n", ntohl (farAddr.sin_addr.s_addr));
clientfd[clientCount] = s1;
}