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);