diff options
author | ed <ed@FreeBSD.org> | 2009-06-04 11:22:53 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2009-06-04 11:22:53 +0000 |
commit | fe6c57bb232715aec9f8d54fb338c2b631923323 (patch) | |
tree | 6adc34666992cf74719aec2ab11af4ff23665488 /sys | |
parent | 81b13ff50e15b0140556ae4fb10bbedb95415677 (diff) | |
download | FreeBSD-src-fe6c57bb232715aec9f8d54fb338c2b631923323.zip FreeBSD-src-fe6c57bb232715aec9f8d54fb338c2b631923323.tar.gz |
Correct typo; errno => error.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/nlm/nlm_advlock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/nlm/nlm_advlock.c b/sys/nlm/nlm_advlock.c index 2d94045..029f77b 100644 --- a/sys/nlm/nlm_advlock.c +++ b/sys/nlm/nlm_advlock.c @@ -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)); } |