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/msg.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/msg.c')
-rw-r--r-- | usr.sbin/pkg_install/lib/msg.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.sbin/pkg_install/lib/msg.c b/usr.sbin/pkg_install/lib/msg.c index 460183e..d95e498 100644 --- a/usr.sbin/pkg_install/lib/msg.c +++ b/usr.sbin/pkg_install/lib/msg.c @@ -1,5 +1,5 @@ #ifndef lint -static const char *rcsid = "$Id: msg.c,v 1.4 1994/06/01 05:14:19 asami Exp $"; +static const char *rcsid = "$Id: msg.c,v 1.5 1995/05/30 03:50:06 rgrimes Exp $"; #endif /* @@ -99,5 +99,3 @@ y_or_n(Boolean def, const char *msg, ...) fclose(tty) ; return (ch == 'Y') ? TRUE : FALSE; } - - |