summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorgrant <grant>2003-04-17 13:50:54 +0000
committergrant <grant>2003-04-17 13:50:54 +0000
commit754c8c71bcc770625edb428e8fdd8fb101203068 (patch)
treedda8c5bc987bf839fb38374881552ca6a724bdbc /pkgtools
parent1b4d4e21d2703679a1404140da3b897a2ca21ed2 (diff)
downloadpkgsrc-754c8c71bcc770625edb428e8fdd8fb101203068.tar.gz
sync with bootstrap, remove an unnecessary cast which found its way in
here.
Diffstat (limited to 'pkgtools')
-rw-r--r--pkgtools/pkg_install/files/add/perform.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgtools/pkg_install/files/add/perform.c b/pkgtools/pkg_install/files/add/perform.c
index 6779e304c93..33f4c36f631 100644
--- a/pkgtools/pkg_install/files/add/perform.c
+++ b/pkgtools/pkg_install/files/add/perform.c
@@ -1,4 +1,4 @@
-/* $NetBSD: perform.c,v 1.5 2003/04/11 14:40:36 grant Exp $ */
+/* $NetBSD: perform.c,v 1.6 2003/04/17 13:50:54 grant Exp $ */
#if 0
#include <sys/cdefs.h>
@@ -6,7 +6,7 @@
#if 0
static const char *rcsid = "from FreeBSD Id: perform.c,v 1.44 1997/10/13 15:03:46 jkh Exp";
#else
-__RCSID("$NetBSD: perform.c,v 1.5 2003/04/11 14:40:36 grant Exp $");
+__RCSID("$NetBSD: perform.c,v 1.6 2003/04/17 13:50:54 grant Exp $");
#endif
#endif
#endif
@@ -262,7 +262,7 @@ pkg_do(const char *pkg)
* compress an average of 75%, so multiply by 4 for good measure.
*/
- if (!inPlace && min_free(playpen) < (u_long) sb.st_size * 4) {
+ if (!inPlace && min_free(playpen) < sb.st_size * 4) {
warnx("projected size of %ld bytes exceeds available free space\n"
"in %s. Please set your PKG_TMPDIR variable to point\n"
"to a location with more free space and try again.",