diff options
author | Volker Lendecke <vl@samba.org> | 2008-01-21 18:07:38 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-01-21 18:08:19 +0100 |
commit | 2dbbb375742e508dddf29f3f003d138e64f8e2d6 (patch) | |
tree | c2fd76fb0868d6d8ffe06aaa294f6bd16dcc8e1e | |
parent | 36e3e75e0683eb9fd14d8a282d9a2324f01fddf7 (diff) | |
download | samba-2dbbb375742e508dddf29f3f003d138e64f8e2d6.tar.gz samba-2dbbb375742e508dddf29f3f003d138e64f8e2d6.tar.bz2 samba-2dbbb375742e508dddf29f3f003d138e64f8e2d6.zip |
Attempt to fix the darwin build
(This used to be commit 5b05e09daf18eaea5e86dfd607c8070228f7571b)
-rw-r--r-- | source3/modules/vfs_default.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/modules/vfs_default.c b/source3/modules/vfs_default.c index 17d0dfabaf..9c5b644a50 100644 --- a/source3/modules/vfs_default.c +++ b/source3/modules/vfs_default.c @@ -93,10 +93,10 @@ static int vfswrap_statvfs(struct vfs_handle_struct *handle, const char *path, static uint32_t vfswrap_fs_capabilities(struct vfs_handle_struct *handle) { #if defined(DARWINOS) - struct statfs sbuf; - ZERO_STRUCT(sbuf); - sys_statvfs(handle->conn->connectpath, &sbuf); - return sbuf.FsCapabilities; + struct vfs_statvfs_struct statbuf; + ZERO_STRUCT(statbuf); + sys_statvfs(handle->conn->connectpath, &statbuf); + return statbuf.FsCapabilities; #endif return FILE_CASE_SENSITIVE_SEARCH | FILE_CASE_PRESERVED_NAMES; } |