Add a local variable initialization needed in the OBJT_DEFAULT case.
Reviewed by: kib Differential Revision: https://reviews.freebsd.org/D2992
This commit is contained in:
parent
36b302ff24
commit
c78ab1ef94
@ -1414,6 +1414,7 @@ vm_mmap(vm_map_t map, vm_offset_t *addr, vm_size_t size, vm_prot_t prot,
|
||||
return (EINVAL);
|
||||
|
||||
size = round_page(size);
|
||||
object = NULL;
|
||||
writecounted = FALSE;
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user