From 6a328058e099984cdf3f4408d770787083de7c1b Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Mon, 6 Oct 2008 18:17:05 +0200 Subject: [PATCH] volume_id: more fat debugging --- extras/volume_id/lib/fat.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/extras/volume_id/lib/fat.c b/extras/volume_id/lib/fat.c index 9d26a987e..95735c2d2 100644 --- a/extras/volume_id/lib/fat.c +++ b/extras/volume_id/lib/fat.c @@ -348,9 +348,9 @@ magic: dbg("sect_count 0x%x\n", sect_count); fat_length = le16_to_cpu(vs->fat_length); - dbg("fat_length 0x%x\n", fat_length); + info("fat_length 0x%x\n", fat_length); fat32_length = le32_to_cpu(vs->type.fat32.fat32_length); - dbg("fat32_length 0x%x\n", fat32_length); + info("fat32_length 0x%x\n", fat32_length); if (fat_length) fat_size = fat_length * vs->fats; @@ -362,7 +362,7 @@ magic: dir_size = ((dir_entries * sizeof(struct vfat_dir_entry)) + (sector_size-1)) / sector_size; - dbg("dir_size 0x%x\n", dir_size); + info("dir_size 0x%x\n", dir_size); cluster_count = sect_count - (reserved + fat_size + dir_size); cluster_count /= vs->sectors_per_cluster; -- 2.30.2