From c56da3a39b4da2cd4226e3ad937d48cc4c988149 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 6 Oct 2004 18:09:57 +0000 Subject: Update. * posix/tst-getaddrinfo2.c: Include stdlib.h and string.h. (do_test): Use %p instead of 0x%08X to print a pointer. * malloc/malloc.c: Include stdio-common/_itoa.h. --- posix/tst-getaddrinfo2.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'posix/tst-getaddrinfo2.c') diff --git a/posix/tst-getaddrinfo2.c b/posix/tst-getaddrinfo2.c index b0bce5925c..13edca0a34 100644 --- a/posix/tst-getaddrinfo2.c +++ b/posix/tst-getaddrinfo2.c @@ -2,6 +2,8 @@ #include #include #include +#include +#include #include static int @@ -47,7 +49,7 @@ do_test (void) if (err) { printf ("FAIL getaddrinfo IPv4 socktype 0,513: " - "fam %d alen %d addr 0x%08X addr/fam %d " + "fam %d alen %d addr %p addr/fam %d " "addr/port %d H[%d]\n", pai->ai_family, pai->ai_addrlen, psin, psin ? psin->sin_family : 0, -- cgit 1.4.1