of fgets into a static buffer. Use sizeof instead of strlen on a constant string. Thanks to Vladimir for review.
* kern/emu/getroot.c (find_root_device_from_mountinfo): New function. (grub_guess_root_device): Call find_root_device_from_mountinfo before looking in /dev.