From owner-svn-src-head@FreeBSD.ORG Fri Jun 28 17:18:28 2013 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id D94F1536; Fri, 28 Jun 2013 17:18:28 +0000 (UTC) (envelope-from obrien@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id CB02019D1; Fri, 28 Jun 2013 17:18:28 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r5SHISup029978; Fri, 28 Jun 2013 17:18:28 GMT (envelope-from obrien@svn.freebsd.org) Received: (from obrien@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r5SHISxO029977; Fri, 28 Jun 2013 17:18:28 GMT (envelope-from obrien@svn.freebsd.org) Message-Id: <201306281718.r5SHISxO029977@svn.freebsd.org> From: "David E. O'Brien" Date: Fri, 28 Jun 2013 17:18:28 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r252348 - head/usr.sbin/pkg_install/lib X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Jun 2013 17:18:28 -0000 Author: obrien Date: Fri Jun 28 17:18:28 2013 New Revision: 252348 URL: http://svnweb.freebsd.org/changeset/base/252348 Log: sysconf(3) returns a long, not an int. Modified: head/usr.sbin/pkg_install/lib/exec.c Modified: head/usr.sbin/pkg_install/lib/exec.c ============================================================================== --- head/usr.sbin/pkg_install/lib/exec.c Fri Jun 28 16:39:52 2013 (r252347) +++ head/usr.sbin/pkg_install/lib/exec.c Fri Jun 28 17:18:28 2013 (r252348) @@ -34,7 +34,8 @@ vsystem(const char *fmt, ...) { va_list args; char *cmd; - int ret, maxargs; + long maxargs; + int ret; maxargs = sysconf(_SC_ARG_MAX); maxargs -= 32; /* some slop for the sh -c */