From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Ly0Av-0004mR-48 for mharc-grub-devel@gnu.org; Sun, 26 Apr 2009 04:57:25 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ly0As-0004lr-Mx for grub-devel@gnu.org; Sun, 26 Apr 2009 04:57:22 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ly0An-0004kK-0g for grub-devel@gnu.org; Sun, 26 Apr 2009 04:57:21 -0400 Received: from [199.232.76.173] (port=48921 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ly0Am-0004kD-Qj for grub-devel@gnu.org; Sun, 26 Apr 2009 04:57:16 -0400 Received: from mail-fx0-f169.google.com ([209.85.220.169]:40391) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ly0Am-0003h4-Bu for grub-devel@gnu.org; Sun, 26 Apr 2009 04:57:16 -0400 Received: by fxm17 with SMTP id 17so1883827fxm.42 for ; Sun, 26 Apr 2009 01:57:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=9dPwfiJasU8qXHr3xACfoghGhIP2TyyrX4yXfK5J9O8=; b=wQKdO6YvbqHDsuH67wBc96wsWvxbvkHOX7YCffaLEEimw4+MY+436rixSqV7fyZQtR OF3zjOSDjZUTzxcEWaQ3vaTtW3qBegmrpSlkfebn2fJcEY1Yh8Q43cbTQvq7C+9cVg72 kVMo9fQFd9Ybf0KjyEt7KC3Yu1dmF/qPZgTS4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=E0c8Gq2F6VK9l3PmqlbDUPpWa3kGPiSjAeW24119pv4mm77lqMazjT3+j2K63zO/OG lTp4wKhDKsj7z4mSqAa3EudNRTlV5/Kxh+M2k4z2rivhriGTNTYFHGd8XgoQYjGHvo74 NU937/s3F+ymk9bns7zFEIvVxRSVN47IAnQ0A= Received: by 10.204.31.74 with SMTP id x10mr4023718bkc.7.1240736235353; Sun, 26 Apr 2009 01:57:15 -0700 (PDT) Received: from ?192.168.178.30? (p5B0CDD2B.dip.t-dialin.net [91.12.221.43]) by mx.google.com with ESMTPS id 6sm2775817fxm.62.2009.04.26.01.57.14 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 26 Apr 2009 01:57:14 -0700 (PDT) Message-ID: <49F421E9.2030004@googlemail.com> Date: Sun, 26 Apr 2009 10:57:13 +0200 From: Andreas User-Agent: Thunderbird 2.0.0.21 (X11/20090325) MIME-Version: 1.0 To: The development of GRUB 2 References: <49F347E2.6060903@earthlink.net> <49F36487.3030103@earthlink.net> <20090426.014618.36764800.davem@davemloft.net> In-Reply-To: <20090426.014618.36764800.davem@davemloft.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:57:23 -0000 Thanks a lot, this fixed it. David Miller schrieb: > 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); > > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel >