From 0a1e473c9beeb4cef4979bded64070888a96bc3b Mon Sep 17 00:00:00 2001 From: Vladimir 'phcoder' Serbinenko Date: Wed, 8 Feb 2012 20:23:53 +0100 Subject: [PATCH] * util/grub-probe.c (main): Fix trailing space in compatibility hint. --- ChangeLog | 4 ++++ util/grub-probe.c | 5 ++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index cb9893341..eaea4ea61 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2012-02-08 Vladimir Serbinenko + + * util/grub-probe.c (main): Fix trailing space in compatibility hint. + 2012-02-08 Vladimir Serbinenko * grub-core/kern/partition.c (grub_partition_get_name): Fix uninited diff --git a/util/grub-probe.c b/util/grub-probe.c index dca32ba0e..a7d17ed72 100644 --- a/util/grub-probe.c +++ b/util/grub-probe.c @@ -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