Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Ly00M-00019C-21 for mharc-grub-devel@gnu.org; Sun, 26 Apr 2009 04:46:30 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ly00J-00017q-Oj for grub-devel@gnu.org; Sun, 26 Apr 2009 04:46:27 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ly00J-00017d-73 for grub-devel@gnu.org; Sun, 26 Apr 2009 04:46:27 -0400 Received: from [199.232.76.173] (port=41231 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ly00I-00017R-PE for grub-devel@gnu.org; Sun, 26 Apr 2009 04:46:26 -0400 Received: from [74.93.104.97] (port=39140 helo=sunset.davemloft.net) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ly00I-0001ew-6c for grub-devel@gnu.org; Sun, 26 Apr 2009 04:46:26 -0400 Received: from localhost (localhost [127.0.0.1]) by sunset.davemloft.net (Postfix) with ESMTP id 9B2E7C8C181; Sun, 26 Apr 2009 01:46:18 -0700 (PDT) Date: Sun, 26 Apr 2009 01:46:18 -0700 (PDT) Message-Id: <20090426.014618.36764800.davem@davemloft.net> To: grub-devel@gnu.org, magicpage91@earthlink.net From: David Miller In-Reply-To: <49F36487.3030103@earthlink.net> References: <49F347E2.6060903@earthlink.net> <49F36487.3030103@earthlink.net> X-Mailer: Mew version 6.2.51 on Emacs 22.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Cc: Subject: Re: Faulty grub-mkdevicemap file X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Apr 2009 08:46:28 -0000 From: BandiPat 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 * 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);