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>
This commit is contained in:
Gonglei 2015-02-25 12:22:27 +08:00 committed by Michael Tokarev
parent 3599d46ba2
commit eec5eb42f5
3 changed files with 5 additions and 5 deletions

View file

@ -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;