mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-31 12:13:10 +00:00
use bigger local variable to calculate free space
int overflows at 1T free space
This commit is contained in:
parent
2765482b7f
commit
ee9069d1d9
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=182599
@ -329,7 +329,7 @@ noresponse(void)
|
||||
static int
|
||||
chksize(int size)
|
||||
{
|
||||
int spacefree;
|
||||
int64_t spacefree;
|
||||
struct statfs sfb;
|
||||
|
||||
if (statfs(".", &sfb) < 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user