From: Sascha Wildner Date: Mon, 11 Jun 2012 16:42:23 +0000 (+0200) Subject: VOP_LOOKUP.9: Fix a little coding mistake. X-Git-Tag: v3.2.0~806 X-Git-Url: https://gitweb.dragonflybsd.org/dragonfly.git/commitdiff_plain/46d6e353060b35cabce77b0b48a9d786ec311080 VOP_LOOKUP.9: Fix a little coding mistake. --- diff --git a/share/man/man9/VOP_LOOKUP.9 b/share/man/man9/VOP_LOOKUP.9 index fd9973091b..b449655941 100644 --- a/share/man/man9/VOP_LOOKUP.9 +++ b/share/man/man9/VOP_LOOKUP.9 @@ -191,7 +191,7 @@ vop_lookup(struct vnode *dvp, if (error) { int vpid; - if (error = ENOENT) + if (error == ENOENT) return error; vp = *vpp;