diff options
author | Brad Smith <brad@comstyle.com> | 2012-02-25 09:28:43 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2012-02-25 09:42:24 +0100 |
commit | 71a6d334321d42fd0f02646d1649405ccf197c00 (patch) | |
tree | f05a45ad836c4f045e89fcb2ad457d21c392562d /source3/modules | |
parent | 0fbefbcb54eb0610d4cbd3579914f884d0ae6fa5 (diff) | |
download | samba-71a6d334321d42fd0f02646d1649405ccf197c00.tar.gz samba-71a6d334321d42fd0f02646d1649405ccf197c00.tar.bz2 samba-71a6d334321d42fd0f02646d1649405ccf197c00.zip |
s3: Fix bug 8777, sys_statvfs() wrapper support for OpenBSD/FreeBSD/DragonFly
Diffstat (limited to 'source3/modules')
-rw-r--r-- | source3/modules/vfs_default.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/modules/vfs_default.c b/source3/modules/vfs_default.c index f556f1c496..d81adadfec 100644 --- a/source3/modules/vfs_default.c +++ b/source3/modules/vfs_default.c @@ -111,7 +111,7 @@ static uint32_t vfswrap_fs_capabilities(struct vfs_handle_struct *handle, NTSTATUS status; int ret = -1; -#if defined(DARWINOS) +#if defined(DARWINOS) || (defined(BSD) && defined(MNT_RDONLY)) struct vfs_statvfs_struct statbuf; ZERO_STRUCT(statbuf); sys_statvfs(conn->connectpath, &statbuf); |