X-Git-Url: https://git.openafs.org/?p=openafs.git;a=blobdiff_plain;f=src%2Fafsd%2Fafsd.c;h=0bed7e29630da2d67822e44d656745b5cf78e9f1;hp=2dcdb49f36c464e108b9bdc0bb752755fcbcea83;hb=9eb924f16c6f3bb06d83ed281317f2ba29473202;hpb=2e2bc535bd03df86f78b648f78d2d0a95d273fab diff --git a/src/afsd/afsd.c b/src/afsd/afsd.c index 2dcdb49..0bed7e2 100644 --- a/src/afsd/afsd.c +++ b/src/afsd/afsd.c @@ -2376,13 +2376,13 @@ afsd_run(void) * Give the kernel the names of the AFS files cached on the workstation's * disk. */ - if (afsd_debug) - printf - ("%s: Calling AFSOP_CACHEFILE for each of the %d files in '%s'\n", - rn, cacheFiles, cacheBaseDir); if (!(cacheFlags & AFSCALL_INIT_MEMCACHE)) { - /* ... and again ... */ int nocachefile = 0; + if (afsd_debug) + printf + ("%s: Calling AFSOP_CACHEFILE for each of the %d files in '%s'\n", + rn, cacheFiles, cacheBaseDir); + /* ... and again ... */ for (currVFile = 0; currVFile < cacheFiles; currVFile++) { if (!nocachefile) { sprintf(fullpn_VFile, "%s/D%d/V%d", cacheBaseDir, dir_for_V[currVFile], currVFile);