[Top][All Lists]

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

Re: Faulty grub-mkdevicemap file

From: David Miller
Subject: Re: Faulty grub-mkdevicemap file
Date: Sun, 26 Apr 2009 01:46:18 -0700 (PDT)

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

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);

reply via email to

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