[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH] qemu-img: Fix error message

From: Kevin Wolf
Subject: [Qemu-devel] [PATCH] qemu-img: Fix error message
Date: Wed, 17 Feb 2010 12:33:17 +0100

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,

Signed-off-by: Kevin Wolf <address@hidden>
 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,
-            error("Could not open new backing file '%s'", backing_name);
+            error("Could not open new backing file '%s'", out_baseimg);
             return -1;

reply via email to

[Prev in Thread] Current Thread [Next in Thread]