Correct typo; errno => error.

This commit is contained in:
ed 2009-06-04 11:22:53 +00:00
parent 81b13ff50e
commit fe6c57bb23

View File

@ -716,7 +716,7 @@ nlm_record_lock(struct vnode *vp, int op, struct flock *fl,
newfl.l_sysid = NLM_SYSID_CLIENT | sysid;
error = lf_advlockasync(&a, &vp->v_lockf, size);
KASSERT(error == 0 || errno == ENOENT,
KASSERT(error == 0 || error == ENOENT,
("Failed to register NFS lock locally - error=%d", error));
}