summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ipc/mach_port.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipc/mach_port.c b/ipc/mach_port.c
index d90f5c6b..b1379b79 100644
--- a/ipc/mach_port.c
+++ b/ipc/mach_port.c
@@ -718,7 +718,7 @@ mach_port_mod_refs(
if (MACH_PORT_VALID (name) && space == current_space()) {
printf("task %.*s %screasing a bogus port "
"%lu by %d, most probably a bug.\n",
- sizeof current_task()->name,
+ (int) (sizeof current_task()->name),
current_task()->name,
delta < 0 ? "de" : "in", name,
delta < 0 ? -delta : delta);