diff options
-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; |