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

« back to all changes in this revision

Viewing changes to quota/project.c

  • Committer: Bazaar Package Importer
  • Author(s): Nathan Scott
  • Date: 2010-11-09 22:39:04 UTC
  • Revision ID: james.westby@ubuntu.com-20101109223904-e7jpjutcxjpt6gko
Tags: 3.1.4
* New upstream release (32 projid resolution, fsr uses /proc/mounts)
* Annotate Debian packages as being team maintained now.
* Resolve Lenny upgrade issue with xfsdump (closes: #601988, #601710)

Show diffs side-by-side

added added

removed removed

Lines of Context:
268
268
                count++;
269
269
        }
270
270
 
271
 
        printf(_("Processed %d (%s and cmdline) paths for project %s with recursion depth %s (%d).\n"),
 
271
        printf(_("Processed %d (%s and cmdline) paths for project %s with "
 
272
                "recursion depth %s (%d).\n"),
272
273
                 count, projects_file, project,
273
274
                 recurse_depth < 0 ? _("infinite") : _("limited"), recurse_depth);
274
275
}
322
323
 
323
324
        if (ispath && argc - optind > 1) {
324
325
                exitcode = 1;
325
 
                fprintf(stderr, _("%s: only one projid/name can be specified when using -p <path>, %d found.\n"),
326
 
                                progname, argc - optind);
 
326
                fprintf(stderr, _("%s: only one projid/name can be specified "
 
327
                            "when using -p <path>, %d found.\n"),
 
328
                        progname, argc - optind);
327
329
                return 0;
328
330
        }
329
331
 
331
333
                prid = prid_from_string(argv[optind]);
332
334
                if (prid == -1) {
333
335
                        exitcode = 1;
334
 
                        fprintf(stderr, _("%s - no such project in %s\n"),
 
336
                        fprintf(stderr, _("%s - no such project in %s "
 
337
                                    "or invalid project number\n"),
335
338
                                argv[optind], projects_file);
336
339
                } else
337
340
                        project(argv[optind], type);