diff options
author | Miguel de Icaza <miguel@gnome.org> | 2005-06-14 04:34:12 +0400 |
---|---|---|
committer | Miguel de Icaza <miguel@gnome.org> | 2005-06-14 04:34:12 +0400 |
commit | 3757bc3f45e482dc17cb3b4e0a8dcd58c6777ee5 (patch) | |
tree | e901274fbda52e6e3c86fca8463344157aba08ac /support | |
parent | de7ae6a57cda7a2329e989c67864a0cf470943a4 (diff) |
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.
svn path=/trunk/mono/; revision=45929
Diffstat (limited to 'support')
-rw-r--r-- | support/ChangeLog | 5 | ||||
-rw-r--r-- | support/sys-statvfs.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/support/ChangeLog b/support/ChangeLog index 984be3f2405..9d65ee17a38 100644 --- a/support/ChangeLog +++ b/support/ChangeLog @@ -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 diff --git a/support/sys-statvfs.c b/support/sys-statvfs.c index 958b7c28d56..81680619767 100644 --- a/support/sys-statvfs.c +++ b/support/sys-statvfs.c @@ -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)); |