aboutsummaryrefslogtreecommitdiff
path: root/kern/boot_script.c
diff options
context:
space:
mode:
Diffstat (limited to 'kern/boot_script.c')
-rw-r--r--kern/boot_script.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kern/boot_script.c b/kern/boot_script.c
index 7e31075f..07ce4b35 100644
--- a/kern/boot_script.c
+++ b/kern/boot_script.c
@@ -548,7 +548,7 @@ boot_script_exec (void)
{
char *p, buf[50];
int len;
- mach_port_t name;
+ mach_port_name_t name;
if (arg->type == VAL_SYM)
{
@@ -750,7 +750,7 @@ main (int argc, char **argv)
char buf[500], *p;
int len;
FILE *fp;
- mach_port_t host_port, device_port;
+ mach_port_name_t host_port, device_port;
if (argc < 2)
{