summaryrefslogtreecommitdiffstats
path: root/netdemo/test.c
diff options
context:
space:
mode:
Diffstat (limited to 'netdemo/test.c')
-rw-r--r--netdemo/test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/netdemo/test.c b/netdemo/test.c
index 90d9b9c..894411c 100644
--- a/netdemo/test.c
+++ b/netdemo/test.c
@@ -228,7 +228,7 @@ echoServer (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));
/*
* Start an echo task