MFC (by alc)
| Eliminate an incorrect cast. | | Revision Changes Path | 1.208 +1 -1 src/sys/vm/vm_fault.c Approved by: re (scottl)
This commit is contained in:
parent
a23e4ad2fe
commit
f1abc488c4
@ -1134,7 +1134,7 @@ vm_fault_copy_entry(dst_map, src_map, dst_entry, src_entry)
|
||||
* actually shadow anything - we copy the pages directly.)
|
||||
*/
|
||||
dst_object = vm_object_allocate(OBJT_DEFAULT,
|
||||
(vm_size_t) OFF_TO_IDX(dst_entry->end - dst_entry->start));
|
||||
OFF_TO_IDX(dst_entry->end - dst_entry->start));
|
||||
|
||||
VM_OBJECT_LOCK(dst_object);
|
||||
dst_entry->object.vm_object = dst_object;
|
||||
|
Loading…
Reference in New Issue
Block a user