Index: /trunk/softs/tsar_boot/io_drivers/ioc.c
===================================================================
--- /trunk/softs/tsar_boot/io_drivers/ioc.c	(revision 278)
+++ /trunk/softs/tsar_boot/io_drivers/ioc.c	(revision 279)
@@ -306,10 +306,21 @@
     sdcard_dev_lseek(&_sdcard_device, lba);
 
-    if (( sdcard_rsp = sdcard_dev_read (&_sdcard_device, buffer, count*512) ))
+    unsigned int i;
+    for(i = 0; i < count; i++)
     {
-        boot_puts(error_read); 
-        boot_putx(sdcard_rsp);
-        boot_puts(end_line);
-    }   
+        if (( sdcard_rsp = sdcard_dev_read (
+                        &_sdcard_device,
+                        (unsigned char *) buffer + (512 * i),
+                        512
+                        ) 
+            ))
+        {
+            boot_puts(error_read); 
+            boot_putx(sdcard_rsp);
+            boot_puts(end_line);
+
+            return 1;
+        }   
+    }
     
 #endif
