diff options
-rw-r--r-- | gnu/usr.sbin/sendmail/sendmail/conf.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gnu/usr.sbin/sendmail/sendmail/conf.c b/gnu/usr.sbin/sendmail/sendmail/conf.c index 992336dd78d..9896f744f39 100644 --- a/gnu/usr.sbin/sendmail/sendmail/conf.c +++ b/gnu/usr.sbin/sendmail/sendmail/conf.c @@ -3246,8 +3246,10 @@ 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; } |