summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFederico G. Schwindt <fgsch@cvs.openbsd.org>2013-10-24 19:53:27 +0000
committerFederico G. Schwindt <fgsch@cvs.openbsd.org>2013-10-24 19:53:27 +0000
commit6f623cc8a63691e754c98dfd012ae912c8fe1074 (patch)
tree5e50b8c6402b773373881776bfab9050545160b1
parent72ce98ca4963dcb4877f45d86b383769ba918fc0 (diff)
f_bavail has been 64bits for some time now so revert 1.12.
Makes sendmail happy on fs with large enough f_bavail values. millert@ ok
-rw-r--r--gnu/usr.sbin/sendmail/sendmail/conf.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gnu/usr.sbin/sendmail/sendmail/conf.c b/gnu/usr.sbin/sendmail/sendmail/conf.c
index 05582d1505b..68f39e09089 100644
--- a/gnu/usr.sbin/sendmail/sendmail/conf.c
+++ b/gnu/usr.sbin/sendmail/sendmail/conf.c
@@ -3350,10 +3350,8 @@ freediskspace(dir, bsize)
*bsize = FSBLOCKSIZE;
if (fs.SFS_BAVAIL <= 0)
return 0;
-#ifndef __OpenBSD__
else if (fs.SFS_BAVAIL > LONG_MAX)
return (long) LONG_MAX;
-#endif
else
return (long) fs.SFS_BAVAIL;
}