On Fri, Aug 29, 2008 at 07:37:30AM +0930, Arthur Marsh wrote:
> /usr/src/grub2-1.96+20080724/util/biosdisk.c: In function
> ‘find_free_slot’:
> /usr/src/grub2-1.96+20080724/util/biosdisk.c:130: error: ‘i’ undeclared
> (first use in this function)
Sorry, my bad. Please change this.
--
Robert Millan
The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and
how) you may access your data; but nobody's threatening your freedom: we
still allow you to remove your data and not access it at all."
--- biosdisk.c~ 2008-08-29 18:27:10.000000000 +0200
+++ biosdisk.c 2008-08-29 18:27:21.000000000 +0200
@@ -127,6 +127,8 @@
static int
find_free_slot ()
{
+ unsigned int i;
+
for (i = 0; i < sizeof (map) / sizeof (map[0]); i++)
if (! map[i].drive)
return i;