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
This commit is contained in:
Jeffrey Hutzelman 2002-07-26 06:45:51 +00:00 committed by Derrick Brashear
parent 6738516b53
commit 2ee7d7e0fb

View File

@ -487,17 +487,17 @@ int fast,longlist, disp;
fprintf(STDOUT," MaxQuota %10d K \n",pntr->maxquota); fprintf(STDOUT," MaxQuota %10d K \n",pntr->maxquota);
fprintf(STDOUT," Creation %s", fprintf(STDOUT," Creation %s",
ctime((time_t *)&pntr->creationDate)); ctime((time_t *)&pntr->creationDate));
#if 0 #ifdef FULL_LISTVOL_SWITCH
fprintf(STDOUT," Copy %s", fprintf(STDOUT," Copy %s",
ctime((time_t *)&pntr->copyDate)); ctime((time_t *)&pntr->copyDate));
if(!pntr->backupDate) if(!pntr->backupDate)
fprintf(STDOUT," Backup Never\n"); fprintf(STDOUT," Backup Never\n");
else else
fprintf(STDOUT," Backup %s", fprintf(STDOUT," Backup %s",
ctime((time_t *)&pntr->backupDate)); ctime((time_t *)&pntr->backupDate));
if (pntr->accessDate) if (pntr->accessDate)
fprintf(STDOUT," Last Access %s", fprintf(STDOUT," Last Access %s",
ctime((time_t *)&pntr->accessDate)); ctime((time_t *)&pntr->accessDate));
#endif #endif
if(pntr->updateDate < pntr->creationDate) if(pntr->updateDate < pntr->creationDate)
fprintf(STDOUT," Last Update %s", fprintf(STDOUT," Last Update %s",
@ -636,14 +636,14 @@ static void XDisplayFormat(a_xInfoP, a_servID, a_partID, a_totalOKP,
a_xInfoP->maxquota); a_xInfoP->maxquota);
fprintf(STDOUT, " Creation %s", fprintf(STDOUT, " Creation %s",
ctime((time_t *)&a_xInfoP->creationDate)); ctime((time_t *)&a_xInfoP->creationDate));
#if 0 #ifdef FULL_LISTVOL_SWITCH
fprintf(STDOUT," Copy %s", fprintf(STDOUT," Copy %s",
ctime((time_t *)&a_xInfoP->copyDate)); ctime((time_t *)&a_xInfoP->copyDate));
if(!a_xInfoP->backupDate) if(!a_xInfoP->backupDate)
fprintf(STDOUT," Backup Never\n"); fprintf(STDOUT," Backup Never\n");
else else
fprintf(STDOUT," Backup %s", fprintf(STDOUT," Backup %s",
ctime((time_t *)&a_xInfoP->backupDate)); ctime((time_t *)&a_xInfoP->backupDate));
if (a_xInfoP->accessDate) if (a_xInfoP->accessDate)
fprintf(STDOUT," Last Access %s", fprintf(STDOUT," Last Access %s",
ctime((time_t *)&a_xInfoP->accessDate)); ctime((time_t *)&a_xInfoP->accessDate));