diff options
author | jkh <jkh@FreeBSD.org> | 1995-08-26 10:15:18 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1995-08-26 10:15:18 +0000 |
commit | a1d19165970b1e7f3102db493e239ac11a657298 (patch) | |
tree | 31d831e9d819c7b603ec330c5873176e7014f739 /usr.sbin/pkg_install/lib/pen.c | |
parent | 8dfac6ca2063e862c2dc7b5e7643401fd7a12db7 (diff) | |
download | FreeBSD-src-a1d19165970b1e7f3102db493e239ac11a657298.zip FreeBSD-src-a1d19165970b1e7f3102db493e239ac11a657298.tar.gz |
Use size_t properly in all fs size ops. This kills a bug
encountered by someone who had his /tmp on a partition with 3.7GB of
free space!
Spotted by: Francisco Rosich Viana <rosich@power.ci.uv.es>
Diffstat (limited to 'usr.sbin/pkg_install/lib/pen.c')
-rw-r--r-- | usr.sbin/pkg_install/lib/pen.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_install/lib/pen.c b/usr.sbin/pkg_install/lib/pen.c index febf265..b084cad 100644 --- a/usr.sbin/pkg_install/lib/pen.c +++ b/usr.sbin/pkg_install/lib/pen.c @@ -1,5 +1,5 @@ #ifndef lint -static const char *rcsid = "$Id: pen.c,v 1.14 1995/08/06 03:21:04 jkh Exp $"; +static const char *rcsid = "$Id: pen.c,v 1.15 1995/08/17 00:36:06 jkh Exp $"; #endif /* @@ -118,7 +118,7 @@ where_playpen(void) return NULL; } -long +size_t min_free(char *tmpdir) { struct statfs buf; |