From a1bb27e4fdfc578421d3950c9541f501b08ae013 Mon Sep 17 00:00:00 2001 From: robertmh Date: Sat, 14 Oct 2006 21:51:37 +0000 Subject: [PATCH] 2006-10-14 Robert Millan * util/i386/pc/getroot.c (grub_guess_root_device): Don't compare os_dev with "/dev/.static/dev/md". --- ChangeLog | 5 +++++ util/i386/pc/getroot.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index d63f1696b..2c06ffeb7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-10-14 Robert Millan + + * util/i386/pc/getroot.c (grub_guess_root_device): Don't compare os_dev + with "/dev/.static/dev/md". + 2006-10-14 Yoshinori K. Okuji * util/i386/pc/grub-probe.c (probe): Print DEVICE_NAME instead of diff --git a/util/i386/pc/getroot.c b/util/i386/pc/getroot.c index e294500a7..343f9655a 100644 --- a/util/i386/pc/getroot.c +++ b/util/i386/pc/getroot.c @@ -234,7 +234,7 @@ grub_guess_root_device (const char *dir) return grub_dev; } - if (!strncmp (os_dev, "/dev/md", 7) || !strncmp (os_dev, "/dev/.static/dev/md", 19)) + if (!strncmp (os_dev, "/dev/md", 7)) { char *p, *grub_dev = xmalloc (8);