svn commit: r252348 - head/usr.sbin/pkg_install/lib

David E. O'Brien obrien at FreeBSD.org
Fri Jun 28 17:18:28 UTC 2013


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 */


More information about the svn-src-head mailing list