2011-11-11 Robert Millan <rmh@gnu.org>

* util/getroot.c (grub_util_get_geom_abstraction): Remove
        __attribute__((unused)) from `os_dev', which *is* being used.
This commit is contained in:
Robert Millan 2011-11-11 22:58:18 +01:00
parent 119d11c885
commit 566f779bd8
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2011-11-11 Robert Millan <rmh@gnu.org>
* util/getroot.c (grub_util_get_geom_abstraction): Remove
__attribute__((unused)) from `os_dev', which *is* being used.
2011-11-11 Vladimir Serbinenko <phcoder@gmail.com>
Replace grub_fatal with normal errors in i386 linux loader.

View file

@ -826,7 +826,7 @@ grub_util_get_geom_abstraction (const char *dev)
#endif
int
grub_util_get_dev_abstraction (const char *os_dev __attribute__((unused)))
grub_util_get_dev_abstraction (const char *os_dev)
{
#if defined(__linux__) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
/* User explicitly claims that this drive is visible by BIOS. */