[syslinux:fsc] FAT: remove debugging printf

syslinux-bot for H. Peter Anvin hpa at zytor.com
Sun Jan 31 20:21:06 PST 2010


Commit-ID:  8e489d0b0a3a78afd717a54576c26e6be62a586d
Gitweb:     http://syslinux.zytor.com/commit/8e489d0b0a3a78afd717a54576c26e6be62a586d
Author:     H. Peter Anvin <hpa at zytor.com>
AuthorDate: Sun, 31 Jan 2010 20:20:09 -0800
Committer:  H. Peter Anvin <hpa at zytor.com>
CommitDate: Sun, 31 Jan 2010 20:20:09 -0800

FAT: remove debugging printf

Remove debugging printf which snuck in...

Signed-off-by: H. Peter Anvin <hpa at zytor.com>


---
 core/fs/fat/fat.c |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/core/fs/fat/fat.c b/core/fs/fat/fat.c
index 23a5512..ea692a4 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;



More information about the Syslinux-commits mailing list