aboutsummaryrefslogtreecommitdiffstats
path: root/dump
diff options
context:
space:
mode:
authorrelan <relan@users.noreply.github.com>2011-01-22 18:51:17 +0000
committerrelan <relan@users.noreply.github.com>2015-08-24 08:26:13 +0300
commit8b265cf5d5a2325179f57da50648782644e44287 (patch)
tree75776e9575fbbcc08867d73a2a73eb32d98f304b /dump
parenta271c7ca659a2423a7abfa639238f0df087d81a5 (diff)
downloadandroid_external_exfat-8b265cf5d5a2325179f57da50648782644e44287.tar.gz
android_external_exfat-8b265cf5d5a2325179f57da50648782644e44287.tar.bz2
android_external_exfat-8b265cf5d5a2325179f57da50648782644e44287.zip
Fix alignment of big numbers in dumpexfat.
Diffstat (limited to 'dump')
-rw-r--r--dump/main.c30
1 files changed, 15 insertions, 15 deletions
diff --git a/dump/main.c b/dump/main.c
index 249b31f..1561048 100644
--- a/dump/main.c
+++ b/dump/main.c
@@ -27,35 +27,35 @@
static void dump_sb(const struct exfat_super_block* sb)
{
- printf("First block %8"PRIu64"\n",
+ printf("First block %10"PRIu64"\n",
le64_to_cpu(sb->block_start));
- printf("Blocks count %8"PRIu64"\n",
+ printf("Blocks count %10"PRIu64"\n",
le64_to_cpu(sb->block_count));
- printf("FAT first block %8u\n",
+ printf("FAT first block %10u\n",
le32_to_cpu(sb->fat_block_start));
- printf("FAT blocks count %8u\n",
+ printf("FAT blocks count %10u\n",
le32_to_cpu(sb->fat_block_count));
- printf("First cluster block %8u\n",
+ printf("First cluster block %10u\n",
le32_to_cpu(sb->cluster_block_start));
- printf("Clusters count %8u\n",
+ printf("Clusters count %10u\n",
le32_to_cpu(sb->cluster_count));
- printf("Root directory cluster %8u\n",
+ printf("Root directory cluster %10u\n",
le32_to_cpu(sb->rootdir_cluster));
- printf("Volume serial number 0x%08x\n",
+ printf("Volume serial number 0x%08x\n",
le32_to_cpu(sb->volume_serial));
- printf("FS version %hhu.%hhu\n",
+ printf("FS version %hhu.%hhu\n",
sb->version.major, sb->version.minor);
- printf("Volume state 0x%04hx\n",
+ printf("Volume state 0x%04hx\n",
le16_to_cpu(sb->volume_state));
- printf("Block size %8u\n",
+ printf("Block size %10u\n",
BLOCK_SIZE(*sb));
- printf("Cluster size %8u\n",
+ printf("Cluster size %10u\n",
CLUSTER_SIZE(*sb));
- printf("FATs count %8hhu\n",
+ printf("FATs count %10hhu\n",
sb->fat_count);
- printf("Drive number 0x%02hhx\n",
+ printf("Drive number 0x%02hhx\n",
sb->drive_no);
- printf("Allocated space %7hhu%%\n",
+ printf("Allocated space %9hhu%%\n",
sb->allocated_percent);
}