From da47499040fc99cbbf5cfe4fcb414225a098c3ec Mon Sep 17 00:00:00 2001 From: Konstantin Belousov Date: Wed, 20 May 2015 23:03:22 +0000 Subject: [PATCH] Remove the write-only variable phent. We currently do not check the size of the program header's entries. Reported by: adrian (by using gcc 4.9) Sponsored by: The FreeBSD Foundation MFC after: 1 week --- sys/vm/vm_page.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/vm/vm_page.c b/sys/vm/vm_page.c index 0aec01f64bc..ad4457152dd 100644 --- a/sys/vm/vm_page.c +++ b/sys/vm/vm_page.c @@ -1756,6 +1756,7 @@ vm_page_alloc(vm_object_t object, vm_pindex_t pindex, int req) m->wire_count = 0; } m->object = NULL; + m->oflags = VPO_UNMANAGED; vm_page_free(m); return (NULL); }