From owner-svn-src-all@FreeBSD.ORG Wed Jan 21 21:48:47 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 3376F106566B; Wed, 21 Jan 2009 21:48:47 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 21E928FC1A; Wed, 21 Jan 2009 21:48:47 +0000 (UTC) (envelope-from jhb@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 n0LLmlhj092328; Wed, 21 Jan 2009 21:48:47 GMT (envelope-from jhb@svn.freebsd.org) Received: (from jhb@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n0LLmlh0092327; Wed, 21 Jan 2009 21:48:47 GMT (envelope-from jhb@svn.freebsd.org) Message-Id: <200901212148.n0LLmlh0092327@svn.freebsd.org> From: John Baldwin Date: Wed, 21 Jan 2009 21:48:47 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-6@freebsd.org X-SVN-Group: stable-6 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r187575 - stable/6/sys/kern 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: Wed, 21 Jan 2009 21:48:48 -0000 Author: jhb Date: Wed Jan 21 21:48:46 2009 New Revision: 187575 URL: http://svn.freebsd.org/changeset/base/187575 Log: Fix build. Pointy hat to: jhb Modified: stable/6/sys/kern/vfs_syscalls.c Modified: stable/6/sys/kern/vfs_syscalls.c ============================================================================== --- stable/6/sys/kern/vfs_syscalls.c Wed Jan 21 21:31:44 2009 (r187574) +++ stable/6/sys/kern/vfs_syscalls.c Wed Jan 21 21:48:46 2009 (r187575) @@ -3712,7 +3712,7 @@ kern_getdirentries(struct thread *td, in int error, eofflag; AUDIT_ARG(fd, fd); - if (uap->count > INT_MAX) + if (count > INT_MAX) return (EINVAL); if ((error = getvnode(td->td_proc->p_fd, fd, &fp)) != 0) return (error);