From owner-svn-src-all@FreeBSD.ORG Mon Jan 25 16:09:51 2010 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 2F94F106566B; Mon, 25 Jan 2010 16:09:51 +0000 (UTC) (envelope-from trasz@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 1F2848FC17; Mon, 25 Jan 2010 16:09:51 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o0PG9pGj011911; Mon, 25 Jan 2010 16:09:51 GMT (envelope-from trasz@svn.freebsd.org) Received: (from trasz@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o0PG9p19011909; Mon, 25 Jan 2010 16:09:51 GMT (envelope-from trasz@svn.freebsd.org) Message-Id: <201001251609.o0PG9p19011909@svn.freebsd.org> From: Edward Tomasz Napierala Date: Mon, 25 Jan 2010 16:09:51 +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: r202971 - head/sys/ufs/ufs 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: Mon, 25 Jan 2010 16:09:51 -0000 Author: trasz Date: Mon Jan 25 16:09:50 2010 New Revision: 202971 URL: http://svn.freebsd.org/changeset/base/202971 Log: Return proper error code. Found with: clang Modified: head/sys/ufs/ufs/ufs_acl.c Modified: head/sys/ufs/ufs/ufs_acl.c ============================================================================== --- head/sys/ufs/ufs/ufs_acl.c Mon Jan 25 15:50:52 2010 (r202970) +++ head/sys/ufs/ufs/ufs_acl.c Mon Jan 25 16:09:50 2010 (r202971) @@ -465,7 +465,7 @@ ufs_setacl_nfs4(struct vop_setacl_args * error = ufs_setacl_nfs4_internal(ap->a_vp, ap->a_aclp, ap->a_td); - return (0); + return (error); } /*