All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: grub-devel@gnu.org, magicpage91@earthlink.net
Subject: Re: Faulty grub-mkdevicemap file
Date: Sun, 26 Apr 2009 01:46:18 -0700 (PDT)	[thread overview]
Message-ID: <20090426.014618.36764800.davem@davemloft.net> (raw)
In-Reply-To: <49F36487.3030103@earthlink.net>

From: BandiPat <magicpage91@earthlink.net>
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  <davem@davemloft.net>

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



  parent reply	other threads:[~2009-04-26  8:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-25 17:26 Faulty grub-mkdevicemap file BandiPat
2009-04-25 19:29 ` BandiPat
2009-04-25 23:32   ` David Miller
2009-04-26  8:46   ` David Miller [this message]
2009-04-26  8:57     ` Andreas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090426.014618.36764800.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=grub-devel@gnu.org \
    --cc=magicpage91@earthlink.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.