Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Jun 2013 17:18:28 +0000 (UTC)
From:      "David E. O'Brien" <obrien@FreeBSD.org>
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
Message-ID:  <201306281718.r5SHISxO029977@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 */



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