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/lib.h | |
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/lib.h')
-rw-r--r-- | usr.sbin/pkg_install/lib/lib.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_install/lib/lib.h b/usr.sbin/pkg_install/lib/lib.h index 4f80cee..a5c2fa5 100644 --- a/usr.sbin/pkg_install/lib/lib.h +++ b/usr.sbin/pkg_install/lib/lib.h @@ -1,4 +1,4 @@ -/* $Id: lib.h,v 1.16 1995/04/26 15:08:22 jkh Exp $ */ +/* $Id: lib.h,v 1.17 1995/07/30 01:44:45 ache Exp $ */ /* * FreeBSD install - a package for the installation and maintainance @@ -109,7 +109,7 @@ void cleanup(int); char *make_playpen(char *, size_t); void leave_playpen(void); char *where_playpen(void); -long min_free(char *); +size_t min_free(char *); /* String */ char *get_dash_string(char **); |