diff --git a/ChangeLog b/ChangeLog index d42bcfd3f..fc4519145 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2012-02-29 Vladimir Serbinenko + + * grub-core/loader/i386/xnu.c (grub_xnu_boot): Init fsbfreq to + sane value to avoid a spurious warning. + 2012-02-29 Vladimir Serbinenko * include/grub/dl.h: Switch from APPLE_CC to __APPLE__. diff --git a/grub-core/loader/i386/xnu.c b/grub-core/loader/i386/xnu.c index 3db67f80e..7fcb6e11a 100644 --- a/grub-core/loader/i386/xnu.c +++ b/grub-core/loader/i386/xnu.c @@ -969,7 +969,7 @@ grub_xnu_boot (void) grub_size_t devtreelen; int i; struct grub_relocator32_state state; - grub_uint64_t fsbfreq; + grub_uint64_t fsbfreq = 100000000; int v2 = (grub_xnu_darwin_version >= 11); grub_uint32_t efi_system_table = 0;