summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Blin <kai@samba.org>2008-12-26 13:32:26 +0100
committerKai Blin <kai@samba.org>2008-12-26 14:10:38 +0100
commitdaaa2c8231574d1879a492d1002f4f4dcff764b8 (patch)
tree28a3c4ee66c40b9ea900f7c5c59233e349d5c669
parent5184baa9591640c7fac4574bad6c15f5c7302a87 (diff)
downloadsamba-daaa2c8231574d1879a492d1002f4f4dcff764b8.tar.gz
samba-daaa2c8231574d1879a492d1002f4f4dcff764b8.tar.bz2
samba-daaa2c8231574d1879a492d1002f4f4dcff764b8.zip
Try to fix the build by fixing some typos in the vfs code
-rw-r--r--source3/modules/vfs_default.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/modules/vfs_default.c b/source3/modules/vfs_default.c
index d7f3922974..cfd3b1e818 100644
--- a/source3/modules/vfs_default.c
+++ b/source3/modules/vfs_default.c
@@ -745,10 +745,10 @@ static int strict_allocate_ftruncate(vfs_handle_struct *handle, files_struct *fs
uint64_t space_avail;
uint64_t bsize,dfree,dsize;
- space_avail = get_dfree_info(conn,fsp->fsp_name,false,&bsize,&dfree,&dsize);
+ space_avail = get_dfree_info(fsp->conn,fsp->fsp_name,false,&bsize,&dfree,&dsize);
/* space_avail is 1k blocks */
- if (space_avail == (SMB_BIG_UINT)-1 ||
- ((SMB_BIG_UINT)space_to_write/1024 > space_avail) ) {
+ if (space_avail == (uint64_t)-1 ||
+ ((uint64_t)space_to_write/1024 > space_avail) ) {
errno = ENOSPC;
return -1;
}