]> git.pld-linux.org Git - packages/quota.git/blob - quota-repquota-len-fix.patch
- for 3.15
[packages/quota.git] / quota-repquota-len-fix.patch
1 diff -ruN quota-tools-romke/repquota.c quota-tools/repquota.c
2 --- quota-tools-romke/repquota.c        2004-12-30 15:08:45.000000000 +0100
3 +++ quota-tools/repquota.c      2003-02-14 18:26:40.000000000 +0100
4 @@ -151,7 +151,7 @@
5         space2str(toqb(entry->dqb_curspace), numbuf[0], flags & FL_SHORTNUMS);
6         space2str(entry->dqb_bsoftlimit, numbuf[1], flags & FL_SHORTNUMS);
7         space2str(entry->dqb_bhardlimit, numbuf[2], flags & FL_SHORTNUMS);
8 -       printf("%-*s %c%c %7s %7s %7s %6s", PRINTNAMELEN, pname,
9 +       printf("%-*s %c%c %8s %8s %8s %6s", PRINTNAMELEN, pname,
10                overlim(qb2kb(toqb(entry->dqb_curspace)), qb2kb(entry->dqb_bsoftlimit), qb2kb(entry->dqb_bhardlimit)),
11                overlim(entry->dqb_curinodes, entry->dqb_isoftlimit, entry->dqb_ihardlimit),
12                numbuf[0], numbuf[1], numbuf[2], time);
13 @@ -242,9 +242,9 @@
14         time2str(h->qh_info.dqi_bgrace, bgbuf, TF_ROUND);
15         time2str(h->qh_info.dqi_igrace, igbuf, TF_ROUND);
16         printf(_("Block grace time: %s; Inode grace time: %s\n"), bgbuf, igbuf);
17 -       printf(_("                        Block limits                File limits\n"));
18 -       printf(_("%-9s       used    soft    hard  grace    used  soft  hard  grace\n"), (type == USRQUOTA)?_("User"):_("Group"));
19 -       printf("----------------------------------------------------------------------\n");
20 +       printf(_("                         Block limits                 File limits\n"));
21 +       printf(_("%-9s        used     soft     hard  grace    used  soft  hard  grace\n"), (type == USRQUOTA)?_("User"):_("Group"));
22 +       printf("-------------------------------------------------------------------------\n");
23  
24         if (h->qh_ops->scan_dquots(h, output) < 0)
25                 return;
This page took 0.057818 seconds and 3 git commands to generate.