Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Jul 2015 22:26:20 +0000 (UTC)
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r285180 - head/sys/vm
Message-ID:  <201507052226.t65MQKwf001199@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: markj
Date: Sun Jul  5 22:26:19 2015
New Revision: 285180
URL: https://svnweb.freebsd.org/changeset/base/285180

Log:
  Add a local variable initialization needed in the OBJT_DEFAULT case.
  
  Reviewed by:	kib
  Differential Revision:	https://reviews.freebsd.org/D2992

Modified:
  head/sys/vm/vm_mmap.c

Modified: head/sys/vm/vm_mmap.c
==============================================================================
--- head/sys/vm/vm_mmap.c	Sun Jul  5 20:16:51 2015	(r285179)
+++ head/sys/vm/vm_mmap.c	Sun Jul  5 22:26:19 2015	(r285180)
@@ -1414,6 +1414,7 @@ vm_mmap(vm_map_t map, vm_offset_t *addr,
 		return (EINVAL);
 
 	size = round_page(size);
+	object = NULL;
 	writecounted = FALSE;
 
 	/*



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201507052226.t65MQKwf001199>