summaryrefslogtreecommitdiff
path: root/libshouldbeinlibc/xportinfo.c
diff options
context:
space:
mode:
authorFlavio Cruz <flaviocruz@gmail.com>2015-12-29 22:48:16 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2015-12-29 23:03:26 +0100
commitadeeb9990e6302482b38267fd517a2516d5b9e2a (patch)
treec1c91df6046a229f0195665368431c7b12996efc /libshouldbeinlibc/xportinfo.c
parent4c0d8ebb6494af95f125e1e829dfb7453b7ad03e (diff)
fix compiler warnings in hurd/libshouldbeinlibc
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 cce6fb6c..47e6dd9a 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) ? "%#6zx => " : "%6zd => ",
+ fprintf (stream, (show & PORTINFO_HEX_NAMES) ? "%#6lx => " : "%6lu => ",
old_name);
err = print_port_info (name, type, x->to_task, show, stream);
}