diff options
author | Jeremy Allison <jra@samba.org> | 1999-01-29 02:43:23 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 1999-01-29 02:43:23 +0000 |
commit | f0875a00334ad6206cb339d6047a22ce34865442 (patch) | |
tree | 5218bb99e38dee5b694d18663f95e9dd76b4ee27 /source | |
parent | f5e717e4d6e6278bba9ecf30ad495fd16b31b368 (diff) | |
download | samba-f0875a00334ad6206cb339d6047a22ce34865442.tar.gz samba-f0875a00334ad6206cb339d6047a22ce34865442.tar.xz samba-f0875a00334ad6206cb339d6047a22ce34865442.zip |
Fixed large (<4GB) filesystem size reporting.
Jeremy.
Diffstat (limited to 'source')
-rw-r--r-- | source/smbd/trans2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/smbd/trans2.c b/source/smbd/trans2.c index 2e198e50bc0..886eb26e31b 100644 --- a/source/smbd/trans2.c +++ b/source/smbd/trans2.c @@ -1164,8 +1164,8 @@ static int call_trans2qfsinfo(connection_struct *conn, SMB_BIG_UINT dfree,dsize,bsize; data_len = 24; sys_disk_free(".",&bsize,&dfree,&dsize); - SIVAL(pdata,0,dsize); - SIVAL(pdata,8,dfree); + SBIG_UINT(pdata,0,dsize); + SBIG_UINT(pdata,8,dfree); SIVAL(pdata,16,bsize/512); SIVAL(pdata,20,512); break; |