aboutsummaryrefslogtreecommitdiff
path: root/startup/startup.c
diff options
context:
space:
mode:
Diffstat (limited to 'startup/startup.c')
-rw-r--r--startup/startup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/startup/startup.c b/startup/startup.c
index e8c76d80..3cb3f31b 100644
--- a/startup/startup.c
+++ b/startup/startup.c
@@ -497,7 +497,7 @@ argz_task_insert_right (char **argz, size_t *argz_len, task_t task,
}
while (err == KERN_NAME_EXISTS);
- if (asprintf (&arg, "--%s=%lu", argument, name) < 0)
+ if (asprintf (&arg, "--%s=%u", argument, name) < 0)
return errno;
err = argz_add (argz, argz_len, arg);
@@ -1638,7 +1638,7 @@ do_mach_notify_dead_name (mach_port_t notify_port,
boots[i].name);
crash_mach ();
}
- error (0, 0, "BUG! Unexpected dead-name notification (name %#lx)",
+ error (0, 0, "BUG! Unexpected dead-name notification (name %#x)",
name);
crash_mach ();
}