2005-06-13 Miguel de Icaza <miguel@novell.com>
authorMiguel de Icaza <miguel@gnome.org>
Tue, 14 Jun 2005 00:34:12 +0000 (00:34 -0000)
committerMiguel de Icaza <miguel@gnome.org>
Tue, 14 Jun 2005 00:34:12 +0000 (00:34 -0000)
*  sys-statvfs.c (copy_statfs): f_flags is the field name on BSD,
not f_flag.

svn path=/trunk/mono/; revision=45929

support/ChangeLog
support/sys-statvfs.c

index 984be3f24058989a1ce1fd248962a7bc9937404a..9d65ee17a38396b2ea7a817047a715d3c8b6c3f9 100644 (file)
@@ -1,3 +1,8 @@
+2005-06-13  Miguel de Icaza  <miguel@novell.com>
+
+       *  sys-statvfs.c (copy_statfs): f_flags is the field name on BSD,
+       not f_flag. 
+
 2005-06-08  Jonathan Pryor  <jonpryor@vt.edu>
 
        * Makefile.am: Create an unversioned library.  We won't make any gaurantees
index 958b7c28d56dcf3f19a79de6ed2820a01c07fec2..81680619767e576290685474a9e6a889f1c8be3d 100644 (file)
@@ -119,7 +119,7 @@ copy_statfs (struct Mono_Posix_Statvfs *to, struct statfs *from)
   to->f_files   = from->f_files;
   to->f_ffree   = from->f_ffree;
   to->f_favail  = from->f_ffree; /* OSX doesn't have f_avail */
-  Mono_Posix_ToMountFlags (from->f_flag, &to->f_flag);
+  Mono_Posix_ToMountFlags (from->f_flags, &to->f_flag);
        // from->f_fsid is an int32[2], to->f_fsid is a uint64, 
        // so this shouldn't lose anything.
        memcpy (&to->f_fsid, &from->f_fsid, sizeof(to->f_fsid));