summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2014-12-13 23:29:14 +0000
committerguenther <guenther@openbsd.org>2014-12-13 23:29:14 +0000
commit6de3047e95b905caa2e8cf44507c7527692f6db8 (patch)
treec17b711615623b40bad3102d771d42a443bc0d02
parentyet more mallocarray() changes. (diff)
downloadwireguard-openbsd-6de3047e95b905caa2e8cf44507c7527692f6db8.tar.xz
wireguard-openbsd-6de3047e95b905caa2e8cf44507c7527692f6db8.zip
An UVM_ADV_NORMAL -> MADV_NORMAL was missed here
-rw-r--r--sys/arch/mips64/mips64/mips64_machdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/mips64/mips64/mips64_machdep.c b/sys/arch/mips64/mips64/mips64_machdep.c
index a8e49bb9a0b..21dd133ee49 100644
--- a/sys/arch/mips64/mips64/mips64_machdep.c
+++ b/sys/arch/mips64/mips64/mips64_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mips64_machdep.c,v 1.17 2014/11/16 12:30:58 deraadt Exp $ */
+/* $OpenBSD: mips64_machdep.c,v 1.18 2014/12/13 23:29:14 guenther Exp $ */
/*
* Copyright (c) 2009, 2010, 2012 Miodrag Vallat.
@@ -185,7 +185,7 @@ exec_md_map(struct proc *p, struct exec_package *pack)
rc = uvm_map(&p->p_vmspace->vm_map, &va, PAGE_SIZE, NULL,
UVM_UNKNOWN_OFFSET, 0,
UVM_MAPFLAG(PROT_NONE, PROT_MASK, UVM_INH_COPY,
- UVM_ADV_NORMAL, UVM_FLAG_COPYONW));
+ MADV_NORMAL, UVM_FLAG_COPYONW));
if (rc != 0)
return rc;
#ifdef DEBUG