summaryrefslogtreecommitdiff
path: root/source3/modules/vfs_cap.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/modules/vfs_cap.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/modules/vfs_cap.c')
-rw-r--r--source3/modules/vfs_cap.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/modules/vfs_cap.c b/source3/modules/vfs_cap.c
index 79537367d6..6950ab2168 100644
--- a/source3/modules/vfs_cap.c
+++ b/source3/modules/vfs_cap.c
@@ -28,15 +28,15 @@
static char *capencode(TALLOC_CTX *ctx, const char *from);
static char *capdecode(TALLOC_CTX *ctx, const char *from);
-static SMB_BIG_UINT cap_disk_free(vfs_handle_struct *handle, const char *path,
- bool small_query, SMB_BIG_UINT *bsize,
- SMB_BIG_UINT *dfree, SMB_BIG_UINT *dsize)
+static uint64_t cap_disk_free(vfs_handle_struct *handle, const char *path,
+ bool small_query, uint64_t *bsize,
+ uint64_t *dfree, uint64_t *dsize)
{
char *cappath = capencode(talloc_tos(), path);
if (!cappath) {
errno = ENOMEM;
- return (SMB_BIG_UINT)-1;
+ return (uint64_t)-1;
}
return SMB_VFS_NEXT_DISK_FREE(handle, cappath, small_query, bsize,
dfree, dsize);