diff options
author | markj <markj@FreeBSD.org> | 2015-07-05 22:26:19 +0000 |
---|---|---|
committer | markj <markj@FreeBSD.org> | 2015-07-05 22:26:19 +0000 |
commit | c78ab1ef947f631582f0b1abd43d3568122a79e0 (patch) | |
tree | d6cd98da51318a7de5c5abebba30e50a833e2662 /sys/vm | |
parent | 36b302ff246d2501deef5e362842b364533a6584 (diff) | |
download | FreeBSD-src-c78ab1ef947f631582f0b1abd43d3568122a79e0.zip FreeBSD-src-c78ab1ef947f631582f0b1abd43d3568122a79e0.tar.gz |
Add a local variable initialization needed in the OBJT_DEFAULT case.
Reviewed by: kib
Differential Revision: https://reviews.freebsd.org/D2992
Diffstat (limited to 'sys/vm')
-rw-r--r-- | sys/vm/vm_mmap.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/vm/vm_mmap.c b/sys/vm/vm_mmap.c index 8118c0a..ca48df8 100644 --- a/sys/vm/vm_mmap.c +++ b/sys/vm/vm_mmap.c @@ -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; /* |