Revision c9fc5083 qemu-img.c

b/qemu-img.c
427 427
    }
428 428

  
429 429
    if (check->total_clusters != 0 && check->allocated_clusters != 0) {
430
        printf("%" PRId64 "/%" PRId64 "= %0.2f%% allocated, %0.2f%% fragmented\n",
431
        check->allocated_clusters, check->total_clusters,
432
        check->allocated_clusters * 100.0 / check->total_clusters,
433
        check->fragmented_clusters * 100.0 / check->allocated_clusters);
430
        printf("%" PRId64 "/%" PRId64 " = %0.2f%% allocated, "
431
               "%0.2f%% fragmented\n",
432
               check->allocated_clusters, check->total_clusters,
433
               check->allocated_clusters * 100.0 / check->total_clusters,
434
               check->fragmented_clusters * 100.0 / check->allocated_clusters);
434 435
    }
435 436

  
436 437
    if (check->image_end_offset) {

Also available in: Unified diff