summaryrefslogtreecommitdiff
path: root/source3/smbd/statvfs.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2008-10-14 11:16:59 +1100
committerAndrew Bartlett <abartlet@samba.org>2008-10-14 11:16:59 +1100
commit551e95502765bae58d5ccf57635e4977b7b47b9b (patch)
treed0c797cbc5044a882e1aac6094f661edb2c070d1 /source3/smbd/statvfs.c
parent9dcbddd5c61e8bf2814e97e53e7c518df87661c0 (diff)
parent4746f79d50d804b0e9d5d5cc0d4796dee54d052c (diff)
downloadsamba-551e95502765bae58d5ccf57635e4977b7b47b9b.tar.gz
samba-551e95502765bae58d5ccf57635e4977b7b47b9b.tar.bz2
samba-551e95502765bae58d5ccf57635e4977b7b47b9b.zip
Merge branch 'master' of ssh://git.samba.org/data/git/samba into abartlet-devel
Diffstat (limited to 'source3/smbd/statvfs.c')
-rw-r--r--source3/smbd/statvfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/statvfs.c b/source3/smbd/statvfs.c
index 0e9a2c2ebe..ee33e13a48 100644
--- a/source3/smbd/statvfs.c
+++ b/source3/smbd/statvfs.c
@@ -118,7 +118,7 @@ static int darwin_statvfs(const char *path, vfs_statvfs_struct *statbuf)
statbuf->UserBlocksAvail = sbuf.f_bavail;
statbuf->TotalFileNodes = sbuf.f_files;
statbuf->FreeFileNodes = sbuf.f_ffree;
- statbuf->FsIdentifier = *(SMB_BIG_UINT *)(&sbuf.f_fsid); /* Ick. */
+ statbuf->FsIdentifier = *(uint64_t *)(&sbuf.f_fsid); /* Ick. */
statbuf->FsCapabilities = darwin_fs_capabilities(sbuf.f_mntonname);
return 0;