]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
2008-08-28 Robert Millan <rmh@aybabtu.com>
authorrobertmh <robertmh@localhost>
Thu, 28 Aug 2008 19:08:21 +0000 (19:08 +0000)
committerrobertmh <robertmh@localhost>
Thu, 28 Aug 2008 19:08:21 +0000 (19:08 +0000)
        * util/biosdisk.c (find_grub_drive): Declare missing `i' variable.

ChangeLog
util/biosdisk.c

index 52fa13effb263b5a38196f576a24d99f730279dd..b2528ee164b502644f66930d71c5a1383f43c106 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-08-28  Robert Millan  <rmh@aybabtu.com>
+
+       * util/biosdisk.c (find_grub_drive): Declare missing `i' variable.
+
 2008-08-28  Robert Millan  <rmh@aybabtu.com>
 
        Change find_grub_drive() syntax so it doesn't prevent it from
index 9fc1583734f976689c13ba0046402810fdbebd87..2d92cfe2cd6ea69cf505ebb14b2684f59630751a 100644 (file)
@@ -127,6 +127,8 @@ find_grub_drive (const char *name)
 static int
 find_free_slot ()
 {
+  unsigned int i;
+
   for (i = 0; i < sizeof (map) / sizeof (map[0]); i++)
     if (! map[i].drive)
       return i;