VOP_LOOKUP.9: Fix a little coding mistake.
authorSascha Wildner <saw@online.de>
Mon, 11 Jun 2012 16:42:23 +0000 (18:42 +0200)
committerSascha Wildner <saw@online.de>
Mon, 11 Jun 2012 16:42:44 +0000 (18:42 +0200)
share/man/man9/VOP_LOOKUP.9

index fd99730..b449655 100644 (file)
@@ -191,7 +191,7 @@ vop_lookup(struct vnode *dvp,
     if (error) {
        int vpid;
 
-       if (error = ENOENT)
+       if (error == ENOENT)
            return error;
 
        vp = *vpp;