diff options
author | Kevin Wolf <kwolf@redhat.com> | 2010-02-17 12:33:17 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2010-02-19 15:53:54 -0600 |
commit | 584771e6b6cba9f1571264645e15272d0ce9fe8e (patch) | |
tree | a4dc0852eeea2831f6657d875126932e6f19aa65 /qemu-img.c | |
parent | 60b1bd4fc5b2f5046b7b64fa5ce9c2930d482eac (diff) | |
download | qemu-584771e6b6cba9f1571264645e15272d0ce9fe8e.zip qemu-584771e6b6cba9f1571264645e15272d0ce9fe8e.tar.gz qemu-584771e6b6cba9f1571264645e15272d0ce9fe8e.tar.bz2 |
qemu-img: Fix error message
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 <kwolf@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'qemu-img.c')
-rw-r--r-- | qemu-img.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1168,7 +1168,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; } } |