summaryrefslogtreecommitdiffstats
path: root/qemu-img.c
diff options
context:
space:
mode:
authorGonglei2015-02-25 05:22:27 +0100
committerMichael Tokarev2015-03-10 06:15:33 +0100
commiteec5eb42f597e652ad3b32d7bf13252966c4e85e (patch)
tree96c52d02b5e2cea419248987c5e46014d47e5137 /qemu-img.c
parentqmp-commands.hx: Fix several typos (diff)
downloadqemu-eec5eb42f597e652ad3b32d7bf13252966c4e85e.tar.gz
qemu-eec5eb42f597e652ad3b32d7bf13252966c4e85e.tar.xz
qemu-eec5eb42f597e652ad3b32d7bf13252966c4e85e.zip
block: remove superfluous '\n' around error_report/error_setg
Signed-off-by: Gonglei <arei.gonglei@huawei.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'qemu-img.c')
-rw-r--r--qemu-img.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/qemu-img.c b/qemu-img.c
index 7ac7f56c5d..6d17755f49 100644
--- a/qemu-img.c
+++ b/qemu-img.c
@@ -1645,7 +1645,7 @@ static int img_convert(int argc, char **argv)
if (skip_create) {
int64_t output_sectors = blk_nb_sectors(out_blk);
if (output_sectors < 0) {
- error_report("unable to get output image length: %s\n",
+ error_report("unable to get output image length: %s",
strerror(-output_sectors));
ret = -1;
goto out;