From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NiavJ-0003Vw-6E for qemu-devel@nongnu.org; Fri, 19 Feb 2010 17:02:09 -0500 Received: from [199.232.76.173] (port=48987 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NiavI-0003VT-LW for qemu-devel@nongnu.org; Fri, 19 Feb 2010 17:02:08 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NiavC-0002JK-1l for qemu-devel@nongnu.org; Fri, 19 Feb 2010 17:02:03 -0500 Received: from mail-yx0-f200.google.com ([209.85.210.200]:56619) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NiavB-0002CQ-On for qemu-devel@nongnu.org; Fri, 19 Feb 2010 17:02:01 -0500 Received: by mail-yx0-f200.google.com with SMTP id 38so521972yxe.4 for ; Fri, 19 Feb 2010 14:02:01 -0800 (PST) Message-ID: <4B7F0A56.9060402@codemonkey.ws> Date: Fri, 19 Feb 2010 16:01:58 -0600 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH] qemu-img: Fix error message References: <1266406397-5121-1-git-send-email-kwolf@redhat.com> In-Reply-To: <1266406397-5121-1-git-send-email-kwolf@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kevin Wolf Cc: qemu-devel@nongnu.org On 02/17/2010 05:33 AM, Kevin Wolf wrote: > When qemu-img can't open the new backing file for a rebase, it prints an error > message which contains the file name of the old backing file. This is wrong, > obviously. > > Signed-off-by: Kevin Wolf > Applied. Thanks. Regards, Anthony Liguori > --- > qemu-img.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/qemu-img.c b/qemu-img.c > index b03b382..250d892 100644 > --- a/qemu-img.c > +++ b/qemu-img.c > @@ -1169,7 +1169,7 @@ static int img_rebase(int argc, char **argv) > if (bdrv_open2(bs_new_backing, out_baseimg, BRDV_O_FLAGS | BDRV_O_RDWR, > new_backing_drv)) > { > - error("Could not open new backing file '%s'", backing_name); > + error("Could not open new backing file '%s'", out_baseimg); > return -1; > } > } >