]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
smbd: Fix the build on FreeBSD
authorVolker Lendecke <vl@samba.org>
Fri, 22 Jul 2022 17:17:29 +0000 (19:17 +0200)
committerJeremy Allison <jra@samba.org>
Thu, 4 Aug 2022 20:44:32 +0000 (20:44 +0000)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/statvfs.c

index 981e7a5ba79d3bd7418884ff047689aa37b5370c..03dacc4ccc7e6c86bda69c178b15907e8897a8bc 100644 (file)
@@ -76,7 +76,7 @@ static int darwin_fs_capabilities(const char * path)
 #endif /* DARWINOS */
 
 #if defined(BSD_STYLE_STATVFS)
-static int bsd_statvfs(const char *path, vfs_statvfs_struct *statbuf)
+static int bsd_statvfs(const char *path, struct vfs_statvfs_struct *statbuf)
 {
        struct statfs sbuf;
        int ret;