summaryrefslogtreecommitdiff
path: root/libshouldbeinlibc/xportinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'libshouldbeinlibc/xportinfo.c')
-rw-r--r--libshouldbeinlibc/xportinfo.c2
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);
}