From 9637c89d66730d7106c75dd49f67f340ceb09921 Mon Sep 17 00:00:00 2001 From: "Evgeny Grechnikov (Diamond)" Date: Fri, 2 Oct 2009 16:45:18 +0000 Subject: [PATCH] bugfix of previous revision git-svn-id: svn://kolibrios.org@1191 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/fs/part_set.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/trunk/fs/part_set.inc b/kernel/trunk/fs/part_set.inc index 458b7a40ec..4d9ed4120f 100644 --- a/kernel/trunk/fs/part_set.inc +++ b/kernel/trunk/fs/part_set.inc @@ -388,7 +388,7 @@ boot_read_ok: mov [SECTORS_PER_CLUSTER],eax movzx ecx,word [ebx+0xb] ; bytes per sector - cmp eax,0x200 + cmp ecx,0x200 jnz problem_fat_dec_count mov [BYTES_PER_SECTOR],ecx