grub-devel
[Top][All Lists]
Advanced

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

Re: Faulty grub-mkdevicemap file


From: Andreas
Subject: Re: Faulty grub-mkdevicemap file
Date: Sun, 26 Apr 2009 10:57:13 +0200
User-agent: Thunderbird 2.0.0.21 (X11/20090325)

Thanks a lot, this fixed it.

David Miller schrieb:
From: BandiPat <address@hidden>
Date: Sat, 25 Apr 2009 15:29:11 -0400

Here is the error when running grub-install:

I just checked in the following patch which will fix this
bug.

2009-04-26  David S. Miller  <address@hidden>

        * util/grub-mkdevicemap.c (make_device_map): Add missing
        NESTED_FUNC_ATTR to process_device().

diff --git a/util/grub-mkdevicemap.c b/util/grub-mkdevicemap.c
index 4f544f8..ac8a390 100644
--- a/util/grub-mkdevicemap.c
+++ b/util/grub-mkdevicemap.c
@@ -42,9 +42,9 @@ make_device_map (const char *device_map, int floppy_disks)
   int num_fd = 0;
   FILE *fp;
- auto int process_device (const char *name, int is_floppy);
+  auto int NESTED_FUNC_ATTR process_device (const char *name, int is_floppy);
- int process_device (const char *name, int is_floppy)
+  int NESTED_FUNC_ATTR process_device (const char *name, int is_floppy)
   {
     grub_util_emit_devicemap_entry (fp, (char *) name,
                                    is_floppy, &num_fd, &num_hd);


_______________________________________________
Grub-devel mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/grub-devel





reply via email to

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