summaryrefslogtreecommitdiff
path: root/sys/kern/kern_exec.c
diff options
context:
space:
mode:
authorDavid Greenman <dg@FreeBSD.org>1998-10-28 13:37:02 +0000
committerDavid Greenman <dg@FreeBSD.org>1998-10-28 13:37:02 +0000
commit730075613afb26b974466f6d13a623bae1641c52 (patch)
tree28fc291b6b94c6b8da00990d015d092902de36c1 /sys/kern/kern_exec.c
parent5ff07d2ee7f16cb017d5c6f9bbe9b9851b0008fc (diff)
Notes
Diffstat (limited to 'sys/kern/kern_exec.c')
-rw-r--r--sys/kern/kern_exec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_exec.c b/sys/kern/kern_exec.c
index d30d9c29fc9b..4200adf84b60 100644
--- a/sys/kern/kern_exec.c
+++ b/sys/kern/kern_exec.c
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: kern_exec.c,v 1.86 1998/09/04 08:06:55 dfr Exp $
+ * $Id: kern_exec.c,v 1.87 1998/10/16 03:55:00 peter Exp $
*/
#include <sys/param.h>
@@ -408,7 +408,7 @@ exec_unmap_first_page(imgp)
{
if (imgp->firstpage) {
pmap_kremove((vm_offset_t) imgp->image_header);
- vm_page_unwire(imgp->firstpage);
+ vm_page_unwire(imgp->firstpage, 1);
imgp->firstpage = NULL;
}
}