From: Stefan Hajnoczi Date: Thu, 7 Feb 2013 16:15:03 +0000 (+0100) Subject: qemu-img: fix missing space in qemu-img check output X-Git-Tag: v1.5.0-rc0~571^2~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c9fc50839863f05545caca92bb9fbead8b1c91bd;p=thirdparty%2Fqemu.git qemu-img: fix missing space in qemu-img check output The qemu-img check fragmentation printf() is missing a space before the '=' sign. The human output is not guaranteed to be stable and we are not aware of screen scrapers, so add the missing space. Also fix the missing indentation of the printf() arguments. Signed-off-by: Stefan Hajnoczi --- diff --git a/qemu-img.c b/qemu-img.c index 34249fee126..0e34bf0c90b 100644 --- a/qemu-img.c +++ b/qemu-img.c @@ -427,10 +427,11 @@ static void dump_human_image_check(ImageCheck *check) } if (check->total_clusters != 0 && check->allocated_clusters != 0) { - printf("%" PRId64 "/%" PRId64 "= %0.2f%% allocated, %0.2f%% fragmented\n", - check->allocated_clusters, check->total_clusters, - check->allocated_clusters * 100.0 / check->total_clusters, - check->fragmented_clusters * 100.0 / check->allocated_clusters); + printf("%" PRId64 "/%" PRId64 " = %0.2f%% allocated, " + "%0.2f%% fragmented\n", + check->allocated_clusters, check->total_clusters, + check->allocated_clusters * 100.0 / check->total_clusters, + check->fragmented_clusters * 100.0 / check->allocated_clusters); } if (check->image_end_offset) {