- printf("#%-9d", n);
-
- printf("%c%c %5d %5d %5d %5d %5d %5d %5d %5d\n"
- , dq[n].dqb_bsoftlimit && dq[n].dqb_curblocks >= dq[n].dqb_bsoftlimit
- ? '+' : '-'
- , dq[n].dqb_isoftlimit && dq[n].dqb_curinodes >= dq[n].dqb_isoftlimit
- ? '+' : '-'
- , dq[n].dqb_curblocks
- , dq[n].dqb_bsoftlimit
- , dq[n].dqb_bhardlimit
- , dq[n].dqb_bwarn
- , dq[n].dqb_curinodes
- , dq[n].dqb_isoftlimit
- , dq[n].dqb_ihardlimit
- , dq[n].dqb_iwarn
- );
+ printf("#%-9d", uid);
+ printf("%c%c%8d%8d%8d %5d %5d %5d %5d %5d\n",
+ fup->fu_dqblk.dqb_bsoftlimit &&
+ fup->fu_dqblk.dqb_curblocks >=
+ fup->fu_dqblk.dqb_bsoftlimit ? '+' : '-',
+ fup->fu_dqblk.dqb_isoftlimit &&
+ fup->fu_dqblk.dqb_curinodes >=
+ fup->fu_dqblk.dqb_isoftlimit ? '+' : '-',
+ fup->fu_dqblk.dqb_curblocks / btodb(1024),
+ fup->fu_dqblk.dqb_bsoftlimit / btodb(1024),
+ fup->fu_dqblk.dqb_bhardlimit / btodb(1024),
+ fup->fu_dqblk.dqb_bwarn,
+ fup->fu_dqblk.dqb_curinodes,
+ fup->fu_dqblk.dqb_isoftlimit,
+ fup->fu_dqblk.dqb_ihardlimit,
+ fup->fu_dqblk.dqb_iwarn);
+ fup->fu_dqblk = zerodqblk;