diff options
Diffstat (limited to '')
-rw-r--r-- | testsuites/samples/loopback/init.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuites/samples/loopback/init.c b/testsuites/samples/loopback/init.c index d537731bba..5cbbd54620 100644 --- a/testsuites/samples/loopback/init.c +++ b/testsuites/samples/loopback/init.c @@ -100,7 +100,7 @@ static rtems_task workerTask(rtems_task_argument arg) { int s = arg; char msg[80]; - char reply[100]; + char reply[120]; int i; for (;;) { @@ -156,7 +156,7 @@ static rtems_task serverTask(rtems_task_argument arg) else rtems_panic("Can't accept connection: %s", strerror(errno)); else - printf("ACCEPTED:%lX\n", ntohl(farAddr.sin_addr.s_addr)); + printf("ACCEPTED:%" PRIu32 "\n", ntohl(farAddr.sin_addr.s_addr)); spawnTask(workerTask, myPriority, s1); } } |