~ubuntu-branches/ubuntu/utopic/xfsprogs/utopic-proposed

« back to all changes in this revision

Viewing changes to db/agf.c

  • Committer: Bazaar Package Importer
  • Author(s): Nathan Scott
  • Date: 2009-05-06 11:29:18 UTC
  • mfrom: (8.1.1 jaunty)
  • Revision ID: james.westby@ubuntu.com-20090506112918-uzoyzcp90rtr8td7
Tags: 3.0.2
New bugfix release

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
static void agf_help(void);
33
33
 
34
34
static const cmdinfo_t agf_cmd =
35
 
        { "agf", NULL, agf_f, 0, 1, 1, "[agno]",
36
 
          "set address to agf header", agf_help };
 
35
        { "agf", NULL, agf_f, 0, 1, 1, N_("[agno]"),
 
36
          N_("set address to agf header"), agf_help };
37
37
 
38
38
const field_t   agf_hfld[] = {
39
39
        { "", FLDT_AGF, OI(0), C1, 0, TYP_NONE },
75
75
static void
76
76
agf_help(void)
77
77
{
78
 
        dbprintf(
 
78
        dbprintf(_(
79
79
"\n"
80
80
" set allocation group free block list\n"
81
81
"\n"
87
87
" contains the root of two different freespace btrees:\n"
88
88
" The 'cnt' btree keeps track freespace indexed on section size.\n"
89
89
" The 'bno' btree tracks sections of freespace indexed on block number.\n"
90
 
);
 
90
));
91
91
}
92
92
 
93
93
static int
101
101
        if (argc > 1) {
102
102
                agno = (xfs_agnumber_t)strtoul(argv[1], &p, 0);
103
103
                if (*p != '\0' || agno >= mp->m_sb.sb_agcount) {
104
 
                        dbprintf("bad allocation group number %s\n", argv[1]);
 
104
                        dbprintf(_("bad allocation group number %s\n"), argv[1]);
105
105
                        return 0;
106
106
                }
107
107
                cur_agno = agno;