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 ac95393..235aa7b 100644
--- a/kern/bootstrap.c
+++ b/kern/bootstrap.c
@@ -435,7 +435,7 @@ read_exec(void *handle, vm_offset_t file_ofs, vm_size_t file_size,
if (file_size > 0)
{
err = copyout((char *)phystokv (mod->mod_start) + file_ofs,
- mem_addr, file_size);
+ (void *)mem_addr, file_size);
assert(err == 0);
}