* util/grub-probe.c (main): Fix trailing space in compatibility hint.

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2012-02-08 20:23:53 +01:00
parent ce6647c83c
commit 0a1e473c9b
2 changed files with 6 additions and 3 deletions

View file

@ -1,3 +1,7 @@
2012-02-08 Vladimir Serbinenko <phcoder@gmail.com>
* util/grub-probe.c (main): Fix trailing space in compatibility hint.
2012-02-08 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/kern/partition.c (grub_partition_get_name): Fix uninited

View file

@ -861,7 +861,7 @@ main (int argc, char *argv[])
grub_mdraid1x_init ();
grub_lvm_init ();
if (print == PRINT_COMPATIBILITY_HINT || print == PRINT_BIOS_HINT
if (print == PRINT_BIOS_HINT
|| print == PRINT_IEEE1275_HINT || print == PRINT_BAREMETAL_HINT
|| print == PRINT_EFI_HINT || print == PRINT_ARC_HINT)
delim = ' ';
@ -877,8 +877,7 @@ main (int argc, char *argv[])
else
probe (arguments.devices[0], NULL, delim);
if (!arguments.zero_delim && (print == PRINT_COMPATIBILITY_HINT
|| print == PRINT_BIOS_HINT
if (!arguments.zero_delim && (print == PRINT_BIOS_HINT
|| print == PRINT_IEEE1275_HINT
|| print == PRINT_BAREMETAL_HINT
|| print == PRINT_EFI_HINT