From 4be122b0d3a8f961eaba08d67656b0afbd77f5a5 Mon Sep 17 00:00:00 2001 From: Fedora Ninjas Date: Sat, 26 Oct 2013 06:37:28 -0400 Subject: [PATCH] fix for hint problem with multi device btrfs Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit A btrfs volume can consist of more than one device. Having the output on different lines screws up the scripts which, for the most part, expect only a single device. --- util/grub-probe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/grub-probe.c b/util/grub-probe.c index a46f0b1..dd5de00 100644 --- a/util/grub-probe.c +++ b/util/grub-probe.c @@ -543,7 +543,7 @@ probe (const char *path, char **device_names, char delim) print_full_name (map, dev); printf ("' "); } - printf ("\n"); + printf (" "); /* new-line causes problems for multi-device btrfs volumes */ grub_device_close (dev); continue; -- 1.8.3.1