summaryrefslogtreecommitdiffstats
path: root/source3/smbd/dfree.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd/dfree.c')
-rw-r--r--source3/smbd/dfree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/dfree.c b/source3/smbd/dfree.c
index e6a0af2185..d02c1bd66a 100644
--- a/source3/smbd/dfree.c
+++ b/source3/smbd/dfree.c
@@ -28,7 +28,7 @@
void disk_norm(bool small_query, uint64_t *bsize,uint64_t *dfree,uint64_t *dsize)
{
/* check if the disk is beyond the max disk size */
- uint64_t maxdisksize = lp_maxdisksize();
+ uint64_t maxdisksize = lp_max_disk_size();
if (maxdisksize) {
/* convert to blocks - and don't overflow */
maxdisksize = ((maxdisksize*1024)/(*bsize))*1024;