mirror of https://github.com/vitalif/e2fsprogs
e2undo, tune2fs: Report the correct name for the undo program.
Signed-off-by: Benno Schulenberg <bensberg@justemail.net> Signed-off-by: Theodore Ts'o <tytso@mit.edu>bitmap-optimize
parent
92fb8545b1
commit
577b5c436f
|
@ -170,7 +170,7 @@ int main(int argc, char *argv[])
|
||||||
}
|
}
|
||||||
|
|
||||||
if (mount_flags & EXT2_MF_MOUNTED) {
|
if (mount_flags & EXT2_MF_MOUNTED) {
|
||||||
com_err(prg_name, retval, _("undoe2fs should only be run on "
|
com_err(prg_name, retval, _("e2undo should only be run on "
|
||||||
"unmounted file system\n"));
|
"unmounted file system\n"));
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1391,7 +1391,7 @@ static int tune2fs_setup_tdb(const char *name, io_manager *io_ptr)
|
||||||
*io_ptr = undo_io_manager;
|
*io_ptr = undo_io_manager;
|
||||||
set_undo_io_backup_file(tdb_file);
|
set_undo_io_backup_file(tdb_file);
|
||||||
printf(_("To undo the tune2fs operations please run "
|
printf(_("To undo the tune2fs operations please run "
|
||||||
"the command\n undoe2fs %s %s\n\n"),
|
"the command\n e2undo %s %s\n\n"),
|
||||||
tdb_file, name);
|
tdb_file, name);
|
||||||
free(tmp_name);
|
free(tmp_name);
|
||||||
return retval;
|
return retval;
|
||||||
|
@ -1595,7 +1595,7 @@ int main (int argc, char ** argv)
|
||||||
fs->flags &= ~EXT2_FLAG_SUPER_ONLY;
|
fs->flags &= ~EXT2_FLAG_SUPER_ONLY;
|
||||||
if (resize_inode(fs, new_inode_size)) {
|
if (resize_inode(fs, new_inode_size)) {
|
||||||
fputs(_("Error in resizing the inode size.\n"
|
fputs(_("Error in resizing the inode size.\n"
|
||||||
"Run undoe2fs to undo the "
|
"Run e2undo to undo the "
|
||||||
"file system changes. \n"), stderr);
|
"file system changes. \n"), stderr);
|
||||||
} else {
|
} else {
|
||||||
printf (_("Setting inode size %lu\n"),
|
printf (_("Setting inode size %lu\n"),
|
||||||
|
|
Loading…
Reference in New Issue