From 2dbbb375742e508dddf29f3f003d138e64f8e2d6 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Mon, 21 Jan 2008 18:07:38 +0100 Subject: Attempt to fix the darwin build (This used to be commit 5b05e09daf18eaea5e86dfd607c8070228f7571b) --- source3/modules/vfs_default.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source3/modules') 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; } -- cgit