mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
Try to fix the build by fixing some typos in the vfs code
This commit is contained in:
parent
5184baa959
commit
daaa2c8231
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user