diff options
author | Roland McGrath <roland@gnu.org> | 2002-05-08 09:28:51 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2002-05-08 09:28:51 +0000 |
commit | 4429f5ee4d22d127bed28b4866ce4272c073de61 (patch) | |
tree | 116abdc23593c81fa2af296fc2e79535a44813e5 /libshouldbeinlibc/xportinfo.c | |
parent | 3a9ca55bf348e7ba8450fa32860be1a8a358e562 (diff) |
2002-05-08 Roland McGrath <roland@frob.com>
* portinfo.c (print_port_info): Use %z formats for port names.
* xportinfo.c (print_xlated_port_info): Likewise.
Diffstat (limited to 'libshouldbeinlibc/xportinfo.c')
-rw-r--r-- | libshouldbeinlibc/xportinfo.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |