diff options
Diffstat (limited to 'boot')
-rw-r--r-- | boot/ChangeLog | 5 | ||||
-rw-r--r-- | boot/boot.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/boot/ChangeLog b/boot/ChangeLog index 0dfa5592..ad8a304c 100644 --- a/boot/ChangeLog +++ b/boot/ChangeLog @@ -1,3 +1,8 @@ +Mon Jul 5 20:04:06 1999 Thomas Bushnell, BSG <tb@mit.edu> + + * boot.c (load_image): Fix typo in cast. Reported by Yamashita + TAKAO <jargon@lares.dti.ne.jp>. + 1999-07-03 Thomas Bushnell, BSG <tb@mit.edu> * boot.c (load_image): Use munmap instead of vm_deallocate when diff --git a/boot/boot.c b/boot/boot.c index ce81c87c..35b181b7 100644 --- a/boot/boot.c +++ b/boot/boot.c @@ -244,7 +244,7 @@ load_image (task_t t, vm_allocate (t, (vm_address_t*)&ph->p_vaddr, ph->p_memsz, 0); vm_write (t, ph->p_vaddr, buf, bufsz); - munmap ((caddr_h) buf, bufsz); + munmap ((caddr_t) buf, bufsz); vm_protect (t, ph->p_vaddr, ph->p_memsz, 0, ((ph->p_flags & PF_R) ? VM_PROT_READ : 0) | ((ph->p_flags & PF_W) ? VM_PROT_WRITE : 0) | |