From owner-svn-src-all@FreeBSD.ORG Thu Jun 4 11:22:54 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0659A1065679; Thu, 4 Jun 2009 11:22:54 +0000 (UTC) (envelope-from ed@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id E98268FC25; Thu, 4 Jun 2009 11:22:53 +0000 (UTC) (envelope-from ed@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n54BMrIM089509; Thu, 4 Jun 2009 11:22:53 GMT (envelope-from ed@svn.freebsd.org) Received: (from ed@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n54BMrIP089508; Thu, 4 Jun 2009 11:22:53 GMT (envelope-from ed@svn.freebsd.org) Message-Id: <200906041122.n54BMrIP089508@svn.freebsd.org> From: Ed Schouten Date: Thu, 4 Jun 2009 11:22:53 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r193434 - head/sys/nlm X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Jun 2009 11:22:54 -0000 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)); }