mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-21 06:49:35 +00:00
2005-11-03 Hollis Blanchard <hollis@penguinppc.org>
* kern/powerpc/ieee1275/init.c (grub_get_rtc): Initialize `msecs' to 0. * term/ieee1275/ofconsole.c (grub_ofconsole_checkkey): Return -1 if there are no pending characters.
This commit is contained in:
1 parent
e45deb9e1e
commit
77500b2bf0
3 files changed
+10
-4
No files matched your search
@@ -186,10 +186,9 @@ grub_stop (void)
|
||||
grub_uint32_t
|
||||
grub_get_rtc (void)
|
||||
{
|
||||
grub_uint32_t msecs;
|
||||
grub_uint32_t msecs = 0;
|
||||
|
||||
if (grub_ieee1275_milliseconds (&msecs))
|
||||
return 0;
|
||||
grub_ieee1275_milliseconds (&msecs);
|
||||
|
||||
return msecs;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user