Skip to content

Commit

Permalink
sync with bootstrap, remove an unnecessary cast which found its way in
Browse files Browse the repository at this point in the history
here.
  • Loading branch information
grant committed Apr 17, 2003
1 parent 7c8fe29 commit 1d4e707
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkgtools/pkg_install/files/add/perform.c
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
/* $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>
#ifndef lint
#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
Expand Down Expand Up @@ -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.",
Expand Down

0 comments on commit 1d4e707

Please sign in to comment.