aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLiu Aleaxander <Aleaxander@gmail.com>2009-06-12 06:51:10 +0800
committerLiu Aleaxander <Aleaxander@gmail.com>2009-06-12 06:51:10 +0800
commite717ad300fae15ac8357c67fad90c0cdcb191b96 (patch)
tree31465f4187fc93cd3c2808920ea810f21151cf35
parent543c6543392cc81f9f35904c7b814112b2eb5b97 (diff)
downloadsyslinux-e717ad300fae15ac8357c67fad90c0cdcb191b96.tar.gz
syslinux-e717ad300fae15ac8357c67fad90c0cdcb191b96.tar.xz
syslinux-e717ad300fae15ac8357c67fad90c0cdcb191b96.zip
Core: fix the menu display error
Well, it's a 'bug' that can be fixed easily fixed, that's just disable the debug output. vesamenu.c32 will be messed up with the outputs.
-rw-r--r--core/ext2.c2
-rw-r--r--core/fs.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/core/ext2.c b/core/ext2.c
index b89541c4..f6217b87 100644
--- a/core/ext2.c
+++ b/core/ext2.c
@@ -714,7 +714,7 @@ void ext2_searchdir(char *filename, struct file *file)
file->file_len = file_len;
file->open_file = (void*)open_file;
-#if 1
+#if 0
if (open_file) {
printf("file bytesleft: %d\n", open_file->file_bytesleft);
printf("file sector : %d\n", open_file->file_sector);
diff --git a/core/fs.c b/core/fs.c
index 18f03377..cbb20800 100644
--- a/core/fs.c
+++ b/core/fs.c
@@ -57,8 +57,10 @@ void searchdir(com32sys_t *regs)
{
char *filename = (char *)MK_PTR(regs->ds, regs->edi.w[0]);
struct file file;
-
+
+#if 0
printf("filename: %s\n", filename);
+#endif
memset(&file, 0, sizeof file);
file.fs = this_fs;