diff options
author | Thomas Bushnell <thomas@gnu.org> | 1999-07-06 00:08:33 +0000 |
---|---|---|
committer | Thomas Bushnell <thomas@gnu.org> | 1999-07-06 00:08:33 +0000 |
commit | 54e27a2c14b9d650249876ce1f1c85c07a997d03 (patch) | |
tree | 53c49ebdba18d2ca6b676b26f2713d4bed4c323c /boot/boot.c | |
parent | 84c05469b0378c17726a054d7486943ef197b423 (diff) |
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>.
Diffstat (limited to 'boot/boot.c')
-rw-r--r-- | boot/boot.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |