diff options
author | Roland McGrath <roland@gnu.org> | 2002-05-08 09:20:38 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2002-05-08 09:20:38 +0000 |
commit | 690b96532af68002a52ef385cd9fcd1f383eecff (patch) | |
tree | 114a479f0650480656f833fd30e1b63cc8b0ee2f /init | |
parent | cfbe2aa2dbd40bf5ffeaffc821664eedb017fa7a (diff) |
2002-05-07 Roland McGrath <roland@frob.com>
* init.c (reboot_system): u_int -> size_t
(reboot_system): Likewise.
(S_msg_report_wait): int -> mach_msg_id_t
Diffstat (limited to 'init')
-rw-r--r-- | init/init.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/init/init.c b/init/init.c index f00c4994..125084a9 100644 --- a/init/init.c +++ b/init/init.c @@ -221,7 +221,7 @@ reboot_system (int flags) if (fakeboot) { pid_t *pp; - u_int npids = 0; + size_t npids = 0; error_t err; int ind; @@ -251,9 +251,9 @@ reboot_system (int flags) if (task != mach_task_self () && task != proctask) { struct procinfo *pi = 0; - u_int pisize = 0; + size_t pisize = 0; char *noise; - unsigned noise_len; + size_t noise_len; int flags; err = proc_getprocinfo (procserver, pp[ind], &flags, (int **)&pi, &pisize, @@ -1285,7 +1285,8 @@ do_mach_notify_dead_name (mach_port_t notify, boots[i].name); crash_mach (); } - error (0, 0, "BUG! Unexpected dead-name notification (name %#x)", name); + error (0, 0, "BUG! Unexpected dead-name notification (name %#zx)", + name); crash_mach (); } @@ -1547,7 +1548,7 @@ S_msg_describe_ports (mach_port_t process, error_t S_msg_report_wait (mach_port_t process, thread_t thread, - string_t desc, int *rpc) + string_t desc, mach_msg_id_t *rpc) { *desc = 0; *rpc = 0; |