summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2011-06-19 04:29:41 +0000
committerderaadt <deraadt@openbsd.org>2011-06-19 04:29:41 +0000
commit5e60dd9db967ad51b3fb2ac0aa01e54e7f39e3c7 (patch)
tree560d992c6c2921677049b8fc02f06cac8abb853a
parentstop trying to be clever with the softc name (diff)
downloadwireguard-openbsd-5e60dd9db967ad51b3fb2ac0aa01e54e7f39e3c7.tar.xz
wireguard-openbsd-5e60dd9db967ad51b3fb2ac0aa01e54e7f39e3c7.zip
and in debug code, too
-rw-r--r--sys/dev/vnd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/vnd.c b/sys/dev/vnd.c
index b7b0d920270..75c91dab9d3 100644
--- a/sys/dev/vnd.c
+++ b/sys/dev/vnd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vnd.c,v 1.127 2011/06/19 04:28:46 deraadt Exp $ */
+/* $OpenBSD: vnd.c,v 1.128 2011/06/19 04:29:41 deraadt Exp $ */
/* $NetBSD: vnd.c,v 1.26 1996/03/30 23:06:11 christos Exp $ */
/*
@@ -734,7 +734,7 @@ vndclear(struct vnd_softc *sc)
struct vnode *vp = sc->sc_vp;
struct proc *p = curproc; /* XXX */
- DNPRINTF(VDB_FOLLOW, "vndclear(%p): vp %p\n", vnd, vp);
+ DNPRINTF(VDB_FOLLOW, "vndclear(%p): vp %p\n", sc, vp);
sc->sc_flags = 0;
if (vp == NULL)