Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1KTCkt-0002eh-L8 for mharc-grub-devel@gnu.org; Wed, 13 Aug 2008 05:34:59 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KTCkr-0002dJ-1t for grub-devel@gnu.org; Wed, 13 Aug 2008 05:34:57 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KTCkp-0002bd-DI for grub-devel@gnu.org; Wed, 13 Aug 2008 05:34:56 -0400 Received: from [199.232.76.173] (port=41293 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KTCkp-0002bU-2g for grub-devel@gnu.org; Wed, 13 Aug 2008 05:34:55 -0400 Received: from smtp-vbr10.xs4all.nl ([194.109.24.30]:3017) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KTCko-00068f-LU for grub-devel@gnu.org; Wed, 13 Aug 2008 05:34:54 -0400 Received: from localhost.localdomain (249-174.surfsnel.dsl.internl.net [145.99.174.249]) by smtp-vbr10.xs4all.nl (8.13.8/8.13.8) with ESMTP id m7D9YoBu056571 for ; Wed, 13 Aug 2008 11:34:51 +0200 (CEST) (envelope-from mgerards@xs4all.nl) From: Marco Gerards To: The development of GRUB 2 References: <1218555015.1604.6.camel@fz.local> Mail-Copies-To: mgerards@xs4all.nl Date: Wed, 13 Aug 2008 11:38:27 +0200 In-Reply-To: <1218555015.1604.6.camel@fz.local> (Felix Zielcke's message of "Tue, 12 Aug 2008 17:30:15 +0200") Message-ID: <87ljz1b6gc.fsf@xs4all.nl> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by XS4ALL Virus Scanner X-detected-kernel: by monty-python.gnu.org: FreeBSD 4.6-4.9 Subject: Re: [PATCH] change grub_print_error to use stderr for the utils 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: Wed, 13 Aug 2008 09:34:57 -0000 Felix Zielcke writes: > Here's now the patch Robert requested. > grub_print_error shouldn't use stdout for the utils. > > Why? > > # grub-install /dev/sda > Unknown extra argument `Unsupported'. > > This is with Bean's or mine lastest RAID patch. > /dev/sda isn't on a raid at all. > There are 4 disks attached to the VM which have a RAID 6 on it. > But the RAID 6 isn't even assembled, i.e. /proc/mdstat says nothing. > > As always, the changelog isn't probable that perfect for you, so please comment :) > > 2008-08-12 Felix Zielcke > > * kern/err.c [GRUB_UTIL]: Include . > (grub_print_error) [GRUB_UTIL]: Use fprintf (stderr, ...) instead of > grub_printf. If there is another way to do this, I would prefer this. -- Marco