From: Jeffrey Hutzelman Date: Fri, 26 Jul 2002 06:45:51 +0000 (+0000) Subject: vos-examine-print-extra-stuff-if-so-compiled-20020725 X-Git-Tag: openafs-devel_1_3_3~50 X-Git-Url: http://git.openafs.org/?p=openafs.git;a=commitdiff_plain;h=2ee7d7e0fbd4c082e7ee60db792976517a96523a vos-examine-print-extra-stuff-if-so-compiled-20020725 the --enable-full-vos-listvol-switch configure switch also compiles in this extended vos examine info --- diff --git a/src/volser/vos.c b/src/volser/vos.c index 266d761..1d57a19 100644 --- a/src/volser/vos.c +++ b/src/volser/vos.c @@ -487,17 +487,17 @@ int fast,longlist, disp; fprintf(STDOUT," MaxQuota %10d K \n",pntr->maxquota); fprintf(STDOUT," Creation %s", ctime((time_t *)&pntr->creationDate)); -#if 0 +#ifdef FULL_LISTVOL_SWITCH fprintf(STDOUT," Copy %s", ctime((time_t *)&pntr->copyDate)); if(!pntr->backupDate) - fprintf(STDOUT," Backup Never\n"); + fprintf(STDOUT," Backup Never\n"); else - fprintf(STDOUT," Backup %s", - ctime((time_t *)&pntr->backupDate)); + fprintf(STDOUT," Backup %s", + ctime((time_t *)&pntr->backupDate)); if (pntr->accessDate) - fprintf(STDOUT," Last Access %s", - ctime((time_t *)&pntr->accessDate)); + fprintf(STDOUT," Last Access %s", + ctime((time_t *)&pntr->accessDate)); #endif if(pntr->updateDate < pntr->creationDate) fprintf(STDOUT," Last Update %s", @@ -636,14 +636,14 @@ static void XDisplayFormat(a_xInfoP, a_servID, a_partID, a_totalOKP, a_xInfoP->maxquota); fprintf(STDOUT, " Creation %s", ctime((time_t *)&a_xInfoP->creationDate)); -#if 0 +#ifdef FULL_LISTVOL_SWITCH fprintf(STDOUT," Copy %s", ctime((time_t *)&a_xInfoP->copyDate)); if(!a_xInfoP->backupDate) fprintf(STDOUT," Backup Never\n"); else fprintf(STDOUT," Backup %s", - ctime((time_t *)&a_xInfoP->backupDate)); + ctime((time_t *)&a_xInfoP->backupDate)); if (a_xInfoP->accessDate) fprintf(STDOUT," Last Access %s", ctime((time_t *)&a_xInfoP->accessDate));