summaryrefslogtreecommitdiff
path: root/kern/bootstrap.c
diff options
context:
space:
mode:
Diffstat (limited to 'kern/bootstrap.c')
-rw-r--r--kern/bootstrap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kern/bootstrap.c b/kern/bootstrap.c
index 0fa4d2d..ad501d6 100644
--- a/kern/bootstrap.c
+++ b/kern/bootstrap.c
@@ -450,7 +450,7 @@ static void copy_bootstrap(void *e, exec_info_t *boot_exec_info)
register vm_map_t user_map = current_task()->map;
int err;
- if (err = exec_load(boot_read, read_exec, e, boot_exec_info))
+ if ((err = exec_load(boot_read, read_exec, e, boot_exec_info)))
panic("Cannot load user-bootstrap image: error code %d", err);
#if MACH_KDB