summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pkg_install/create
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2013-06-29 00:37:49 +0000
committerobrien <obrien@FreeBSD.org>2013-06-29 00:37:49 +0000
commitcea740e055253d28645996001e38af68a43c8d1a (patch)
tree8dbda5bdc4411ba9b8291d0b2cf1f34c83b34eb3 /usr.sbin/pkg_install/create
parent35739df6c80d6fc83d2abc5edd3111399f2d5f8d (diff)
downloadFreeBSD-src-cea740e055253d28645996001e38af68a43c8d1a.zip
FreeBSD-src-cea740e055253d28645996001e38af68a43c8d1a.tar.gz
sysconf(3) returns a long, not an int.
Diffstat (limited to 'usr.sbin/pkg_install/create')
-rw-r--r--usr.sbin/pkg_install/create/pl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/pkg_install/create/pl.c b/usr.sbin/pkg_install/create/pl.c
index 716fd05..1316eda 100644
--- a/usr.sbin/pkg_install/create/pl.c
+++ b/usr.sbin/pkg_install/create/pl.c
@@ -140,7 +140,8 @@ copy_plist(const char *home, Package *plist)
const char *there = NULL, *mythere;
char *where_args, *prefix = NULL;
const char *last_chdir, *root = "/";
- int maxargs, where_count = 0, add_count;
+ long maxargs;
+ int where_count = 0, add_count;
struct stat stb;
dev_t curdir;
OpenPOWER on IntegriCloud