diff --git a/src/afs/afs_init.c b/src/afs/afs_init.c index 1fd3620761..36ae3d55b1 100644 --- a/src/afs/afs_init.c +++ b/src/afs/afs_init.c @@ -245,7 +245,7 @@ afs_CacheInit(astatSize, afiles, ablocks, aDentries, aVolumes, achunk, aflags, cm_initParams.cmi_nVolumeCaches = aVolumes; cm_initParams.cmi_firstChunkSize = AFS_FIRSTCSIZE; cm_initParams.cmi_otherChunkSize = AFS_OTHERCSIZE; - cm_initParams.cmi_cacheSize = ablocks; + cm_initParams.cmi_cacheSize = afs_cacheBlocks; cm_initParams.cmi_setTime = afs_setTime; cm_initParams.cmi_memCache = (aflags & AFSCALL_INIT_MEMCACHE) ? 1 : 0;