Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Jun 2009 11:22:53 +0000 (UTC)
From:      Ed Schouten <ed@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r193434 - head/sys/nlm
Message-ID:  <200906041122.n54BMrIP089508@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ed
Date: Thu Jun  4 11:22:53 2009
New Revision: 193434
URL: http://svn.freebsd.org/changeset/base/193434

Log:
  Correct typo; errno => error.

Modified:
  head/sys/nlm/nlm_advlock.c

Modified: head/sys/nlm/nlm_advlock.c
==============================================================================
--- head/sys/nlm/nlm_advlock.c	Thu Jun  4 10:30:18 2009	(r193433)
+++ head/sys/nlm/nlm_advlock.c	Thu Jun  4 11:22:53 2009	(r193434)
@@ -716,7 +716,7 @@ nlm_record_lock(struct vnode *vp, int op
 	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));
 }
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906041122.n54BMrIP089508>