From 4429f5ee4d22d127bed28b4866ce4272c073de61 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 8 May 2002 09:28:51 +0000 Subject: 2002-05-08 Roland McGrath * portinfo.c (print_port_info): Use %z formats for port names. * xportinfo.c (print_xlated_port_info): Likewise. --- libshouldbeinlibc/xportinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libshouldbeinlibc') diff --git a/libshouldbeinlibc/xportinfo.c b/libshouldbeinlibc/xportinfo.c index bba84a12..cce6fb6c 100644 --- a/libshouldbeinlibc/xportinfo.c +++ b/libshouldbeinlibc/xportinfo.c @@ -35,7 +35,7 @@ print_xlated_port_info (mach_port_t name, mach_port_type_t type, error_t err = port_name_xlator_xlate (x, name, type, &name, &type); if (! err) { - fprintf (stream, (show & PORTINFO_HEX_NAMES) ? "%#6x => " : "%6d => ", + fprintf (stream, (show & PORTINFO_HEX_NAMES) ? "%#6zx => " : "%6zd => ", old_name); err = print_port_info (name, type, x->to_task, show, stream); } -- cgit v1.2.3