bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

followup: GRUB 0.5.96.1 tries to acecss wrong /devfs file


From: Eric Buddington
Subject: followup: GRUB 0.5.96.1 tries to acecss wrong /devfs file
Date: Tue, 22 May 2001 13:18:47 -0400
User-agent: Mutt/1.2.5i

I wrote:

> I will see if there's a more recent version of GRUB available. If not,
> I'll see if I can get you a patch.

And here it is. I have compiled and installed with it ("GRUB Geom
error"... *sigh*).

--- grub-0.5.96.1/lib/device.c  Tue May 22 13:04:29 2001
+++ grub-0.5.96.1/lib/device.c.orig     Tue May 22 13:04:25 2001
@@ -614,7 +614,7 @@
   if (have_devfs ())
     {
       if (strcmp (dev + strlen(dev) - 5, "/disc") == 0)
-       strcpy (dev + strlen(dev) - 5, "/part");
+       strcat (dev + strlen(dev) - 5, "/part");
     }
   sprintf (dev + strlen(dev), "%d", ((partition >> 16) & 0xFF) + 1);
   



reply via email to

[Prev in Thread] Current Thread [Next in Thread]