0d9ff59345
of fgets into a static buffer. Use sizeof instead of strlen on a constant string. Thanks to Vladimir for review.
8 lines
281 B
Text
8 lines
281 B
Text
2010-06-01 Colin Watson <cjwatson@ubuntu.com>
|
|
|
|
Add btrfs probing support, currently only in the single-device case.
|
|
|
|
* 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.
|