fprintf(stderr, _("Available commands:\n"));
fprintf(stderr, "\t%-30s %s\n", "--getsz",
- "get size in 512-byte sectors");
+ _("get size in 512-byte sectors"));
for (i = 0; i < SIZE(bdcms); i++) {
if (bdcms[i].argname)
fprintf(stderr, "\t%s %-*s %s\n", bdcms[i].name,
if (res == -1) {
perror(bdcms[j].iocname);
if (verbose)
- printf("%s failed.\n", _(bdcms[j].help));
+ printf(_("%s failed.\n"), _(bdcms[j].help));
exit(1);
}
switch(bdcms[j].argtype) {
die(_("Unable to allocate buffer for inode map"));
zone_map = malloc(ZMAPS * BLOCK_SIZE);
if (!inode_map)
- die("Unable to allocate buffer for zone map");
+ die(_("Unable to allocate buffer for zone map"));
memset(inode_map,0,sizeof(inode_map));
memset(zone_map,0,sizeof(zone_map));
inode_buffer = malloc(INODE_BUFFER_SIZE);
struct minix2_inode *inode = Inode2 + ROOT_INO;
if (!inode || !S_ISDIR (inode->i_mode))
- die ("root inode isn't a directory");
+ die(_("root inode isn't a directory"));
}
static int
if (!offset) {
if (!inode || strcmp(".",name)) {
get_current_name();
- printf(_("`%s': bad directory: '.' isn't first\n"),
+ printf(_("%s: bad directory: '.' isn't first\n"),
current_name);
errors_uncorrected = 1;
} else return;
if (offset == dirsize) {
if (!inode || strcmp("..",name)) {
get_current_name();
- printf(_("`%s': bad directory: '..' isn't second\n"),
+ printf(_("%s: bad directory: '..' isn't second\n"),
current_name);
errors_uncorrected = 1;
} else return;
dir = Inode2 + ino;
if (!S_ISDIR (dir->i_mode))
- die ("internal error");
+ die(_("internal error"));
if (dir->i_size < 2 * dirsize) {
get_current_name ();
printf (_("%s: bad directory: size < 32"),
if (!inode_in_use(i)) {
printf(_("Inode %d used, marked unused in the bitmap."),
i);
- if (ask("Set",1))
+ if (ask(_("Set"),1))
mark_inode(i);
}
if (Inode[i].i_nlinks != inode_count[i]) {