]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* grub-core/loader/i386/xnu.c (grub_xnu_boot): Init fsbfreq to
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Wed, 29 Feb 2012 13:53:41 +0000 (14:53 +0100)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Wed, 29 Feb 2012 13:53:41 +0000 (14:53 +0100)
sane value to avoid a spurious warning.

ChangeLog
grub-core/loader/i386/xnu.c

index d42bcfd3f4e365036c7e54427142c844342b6eb9..fc451914513cf08c4fa4453472a94902234ffc77 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2012-02-29  Vladimir Serbinenko  <phcoder@gmail.com>
+
+       * grub-core/loader/i386/xnu.c (grub_xnu_boot): Init fsbfreq to
+       sane value to avoid a spurious warning.
+
 2012-02-29  Vladimir Serbinenko  <phcoder@gmail.com>
 
        * include/grub/dl.h: Switch from APPLE_CC to __APPLE__.
index 3db67f80e5c72e564ea9358d68126c1740169977..7fcb6e11abc33a15893076cbcfd8ffd82d4c7228 100644 (file)
@@ -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;