OSDN Git Service

Fixed alignment of big numbers in exfat_print_info().
authorresver <resver@60bc1c72-a15a-11de-b98f-4500b42dc123>
Sat, 22 Jan 2011 18:55:56 +0000 (18:55 +0000)
committerresver <resver@60bc1c72-a15a-11de-b98f-4500b42dc123>
Sat, 22 Jan 2011 18:55:56 +0000 (18:55 +0000)
git-svn-id: http://exfat.googlecode.com/svn/trunk@197 60bc1c72-a15a-11de-b98f-4500b42dc123

libexfat/utils.c

index a929356..3329767 100644 (file)
@@ -279,13 +279,13 @@ void exfat_print_info(const struct exfat_super_block* sb,
        printf("File system version           %hhu.%hhu\n",
                        sb->version.major, sb->version.minor);
        exfat_humanize_bytes(BLOCK_SIZE(*sb), &hb);
-       printf("Block size             %8"PRIu64" %s\n", hb.value, hb.unit);
+       printf("Block size           %10"PRIu64" %s\n", hb.value, hb.unit);
        exfat_humanize_bytes(CLUSTER_SIZE(*sb), &hb);
-       printf("Cluster size           %8"PRIu64" %s\n", hb.value, hb.unit);
+       printf("Cluster size         %10"PRIu64" %s\n", hb.value, hb.unit);
        exfat_humanize_bytes(total_space, &hb);
-       printf("Volume size            %8"PRIu64" %s\n", hb.value, hb.unit);
+       printf("Volume size          %10"PRIu64" %s\n", hb.value, hb.unit);
        exfat_humanize_bytes(total_space - avail_space, &hb);
-       printf("Used space             %8"PRIu64" %s\n", hb.value, hb.unit);
+       printf("Used space           %10"PRIu64" %s\n", hb.value, hb.unit);
        exfat_humanize_bytes(avail_space, &hb);
-       printf("Available space        %8"PRIu64" %s\n", hb.value, hb.unit);
+       printf("Available space      %10"PRIu64" %s\n", hb.value, hb.unit);
 }