* grub-core/normal/misc.c (grub_normal_print_device_info): Dsiplay

ext* instead of ext2.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2012-05-23 09:10:56 +02:00
parent c2a51adee8
commit 7026b0e278
2 changed files with 9 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2012-05-23 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/normal/misc.c (grub_normal_print_device_info): Dsiplay
ext* instead of ext2.
2012-05-23 Vladimir Serbinenko <phcoder@gmail.com> 2012-05-23 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/normal/term.c (read_terminal_list): Terminate the terminal * grub-core/normal/term.c (read_terminal_list): Terminate the terminal

View file

@ -61,7 +61,10 @@ grub_normal_print_device_info (const char *name)
if (fs) if (fs)
{ {
grub_printf_ (N_("Filesystem type %s"), fs->name); const char *fsname = fs->name;
if (grub_strcmp (fsname, "ext2") == 0)
fsname = "ext*";
grub_printf_ (N_("Filesystem type %s"), fsname);
if (fs->label) if (fs->label)
{ {
char *label; char *label;