diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-05-17 19:48:39 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-05-17 19:48:39 +0000 |
commit | 1829c65bd1a850784556256007d552c65b768755 (patch) | |
tree | 7dda6de2224554e3fed62b8a9c59534e48073dde /sys | |
parent | 5d525f9e158ec122f36724f3578f6ea4e0ff647e (diff) |
&proc0 should never be used
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/vnd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/vnd.c b/sys/dev/vnd.c index 5957096cac4..6eb7c75e603 100644 --- a/sys/dev/vnd.c +++ b/sys/dev/vnd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vnd.c,v 1.10 1997/05/16 19:11:34 niklas Exp $ */ +/* $OpenBSD: vnd.c,v 1.11 1997/05/17 19:48:38 deraadt Exp $ */ /* $NetBSD: vnd.c,v 1.26 1996/03/30 23:06:11 christos Exp $ */ /* @@ -429,7 +429,7 @@ vndstrategy(bp) * In that case cahalk it up on proc0 instead, for * safety. */ - auio.uio_procp = (bp->b_proc ? bp->b_proc : &proc0); + auio.uio_procp = (bp->b_proc ? bp->b_proc : curproc); VOP_LOCK(vnd->sc_vp); vnd->sc_flags |= VNF_BUSY; |