summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2010-01-31 20:20:09 -0800
committerH. Peter Anvin <hpa@zytor.com>2010-01-31 20:20:09 -0800
commit8e489d0b0a3a78afd717a54576c26e6be62a586d (patch)
tree352bc0d6be3c5c3be0a4f180883cc1e4e98da879
parent7e123c64f0d338a34148e428bac45468e362da78 (diff)
downloadsyslinux-4.00-pre14.tar.gz
FAT: remove debugging printfsyslinux-4.00-pre14
Remove debugging printf which snuck in... Signed-off-by: H. Peter Anvin <hpa@zytor.com>
-rw-r--r--core/fs/fat/fat.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/core/fs/fat/fat.c b/core/fs/fat/fat.c
index 23a55120..ea692a4a 100644
--- a/core/fs/fat/fat.c
+++ b/core/fs/fat/fat.c
@@ -115,11 +115,8 @@ static sector_t get_next_sector(struct fs_info* fs, uint32_t sector)
cluster = data_sector >> clust_shift;
cluster = get_next_cluster(fs, cluster + 2) - 2;
- if (cluster >= sbi->clusters) {
- printf("Logical cluster = 0x%x, total clusters = 0x%x\n",
- cluster + 2, sbi->clusters);
+ if (cluster >= sbi->clusters)
return 0;
- }
/* return the start of the new cluster */
sector = (cluster << clust_shift) + data_area;