summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2013-01-16 00:24:34 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2013-01-16 00:24:34 +0000
commit146e9a98dc28817181053628c65719b33c865d23 (patch)
tree3af93c5c5597ca0d9deae860c50aa2d1845c3403 /sys
parent341dd317fafb2c60d327f87e4b3ef21cffc3f066 (diff)
oops, one IO_NODELOCKED left behind in the a.out coredumper
ok guenther
Diffstat (limited to 'sys')
-rw-r--r--sys/uvm/uvm_unix.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/uvm/uvm_unix.c b/sys/uvm/uvm_unix.c
index 11bd29f977b..f1401d25e7b 100644
--- a/sys/uvm/uvm_unix.c
+++ b/sys/uvm/uvm_unix.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvm_unix.c,v 1.45 2013/01/15 02:03:38 deraadt Exp $ */
+/* $OpenBSD: uvm_unix.c,v 1.46 2013/01/16 00:24:33 deraadt Exp $ */
/* $NetBSD: uvm_unix.c,v 1.18 2000/09/13 15:00:25 thorpej Exp $ */
/*
@@ -223,8 +223,7 @@ uvm_coredump(struct proc *p, struct vnode *vp, struct ucred *cred,
error = vn_rdwr(UIO_WRITE, vp,
(caddr_t)&cseg, chdr->c_seghdrsize,
- offset, UIO_SYSSPACE,
- IO_NODELOCKED|IO_UNIT, cred, NULL, p);
+ offset, UIO_SYSSPACE, IO_UNIT, cred, NULL, p);
/*
* We might get an EFAULT on objects mapped beyond
* EOF. Ignore the error.