[BACK]Return to quota.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / quota

Diff for /src/usr.bin/quota/quota.c between version 1.16 and 1.17

version 1.16, 2000/10/18 23:05:16 version 1.17, 2001/12/01 19:00:34
Line 370 
Line 370 
                                 printf("%s\n", qup->fsname);                                  printf("%s\n", qup->fsname);
                                 nam = "";                                  nam = "";
                         }                          }
                         printf("%15s%8d%c%7d%8d%8s"                          printf("%15s%8d%c%7d%8d%8s",
                             , nam                              nam,
                             , (int)(dbtob((u_quad_t)qup->dqblk.dqb_curblocks)                              (int)(dbtob((u_quad_t)qup->dqblk.dqb_curblocks)
                                 / 1024)                                  / 1024),
                             , (msgb == (char *)0) ? ' ' : '*'                              (msgb == (char *)0) ? ' ' : '*',
                             , (int)(dbtob((u_quad_t)qup->dqblk.dqb_bsoftlimit)                              (int)(dbtob((u_quad_t)qup->dqblk.dqb_bsoftlimit)
                                 / 1024)                                  / 1024),
                             , (int)(dbtob((u_quad_t)qup->dqblk.dqb_bhardlimit)                              (int)(dbtob((u_quad_t)qup->dqblk.dqb_bhardlimit)
                                 / 1024)                                  / 1024),
                             , (msgb == (char *)0) ? ""                              (msgb == (char *)0) ? ""
                                 : timeprt(qup->dqblk.dqb_btime));                                  : timeprt(qup->dqblk.dqb_btime));
                         printf("%8d%c%7d%8d%8s\n"                          printf("%8d%c%7d%8d%8s\n",
                             , qup->dqblk.dqb_curinodes                              qup->dqblk.dqb_curinodes,
                             , (msgi == (char *)0) ? ' ' : '*'                              (msgi == (char *)0) ? ' ' : '*',
                             , qup->dqblk.dqb_isoftlimit                              qup->dqblk.dqb_isoftlimit,
                             , qup->dqblk.dqb_ihardlimit                              qup->dqblk.dqb_ihardlimit,
                             , (msgi == (char *)0) ? ""                              (msgi == (char *)0) ? ""
                                 : timeprt(qup->dqblk.dqb_itime)                                  : timeprt(qup->dqblk.dqb_itime)
                         );                          );
                         continue;                          continue;
Line 406 
Line 406 
         printf("Disk quotas for %s %s (%cid %ld): %s\n", qfextension[type],          printf("Disk quotas for %s %s (%cid %ld): %s\n", qfextension[type],
             name, *qfextension[type], id, tag);              name, *qfextension[type], id, tag);
         if (!qflag && tag[0] == '\0') {          if (!qflag && tag[0] == '\0') {
                 printf("%15s%8s %7s%8s%8s%8s %7s%8s%8s\n"                  printf("%15s%8s %7s%8s%8s%8s %7s%8s%8s\n",
                     , "Filesystem"                      "Filesystem",
                     , "blocks"                      "blocks",
                     , "quota"                      "quota",
                     , "limit"                      "limit",
                     , "grace"                      "grace",
                     , "files"                      "files",
                     , "quota"                      "quota",
                     , "limit"                      "limit",
                     , "grace"                      "grace");
                 );  
         }          }
 }  }
   

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17