SVR4 statvfs fix
authorEric Allman <eric@ucbvax.Berkeley.EDU>
Thu, 5 Jan 1995 08:32:36 +0000 (00:32 -0800)
committerEric Allman <eric@ucbvax.Berkeley.EDU>
Thu, 5 Jan 1995 08:32:36 +0000 (00:32 -0800)
SCCS-vsn: usr.sbin/sendmail/src/conf.c 8.125

usr/src/usr.sbin/sendmail/src/conf.c

index 138e995..c653ed5 100644 (file)
@@ -7,7 +7,7 @@
  */
 
 #ifndef lint
  */
 
 #ifndef lint
-static char sccsid[] = "@(#)conf.c     8.124 (Berkeley) %G%";
+static char sccsid[] = "@(#)conf.c     8.125 (Berkeley) %G%";
 #endif /* not lint */
 
 # include "sendmail.h"
 #endif /* not lint */
 
 # include "sendmail.h"
@@ -2002,7 +2002,7 @@ freespace(dir, bsize)
 #  else
 #   if SFS_TYPE == SFS_STATVFS
        struct statvfs fs;
 #  else
 #   if SFS_TYPE == SFS_STATVFS
        struct statvfs fs;
-#    define FSBLOCKSIZE        fs.f_bsize
+#    define FSBLOCKSIZE        fs.f_frsize
 #   else
        struct statfs fs;
 #    define FSBLOCKSIZE        fs.f_bsize
 #   else
        struct statfs fs;
 #    define FSBLOCKSIZE        fs.f_bsize