Use alias->path

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2010-02-14 20:05:09 +01:00
parent b47c575a58
commit 07096a4f27

View file

@ -31,8 +31,8 @@ find_rtc (void)
{ {
if (grub_strcmp (alias->type, "rtc") == 0) if (grub_strcmp (alias->type, "rtc") == 0)
{ {
grub_dprintf ("datetime", "Found RTC %s\n", alias->name); grub_dprintf ("datetime", "Found RTC %s\n", alias->path);
rtc = grub_strdup (alias->name); rtc = grub_strdup (alias->path);
return 1; return 1;
} }
return 0; return 0;