commit-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[1801] 2008-08-12 Bean <address@hidden>


From: Bean
Subject: [1801] 2008-08-12 Bean <address@hidden>
Date: Tue, 12 Aug 2008 13:58:30 +0000

Revision: 1801
          http://svn.sv.gnu.org/viewvc/?view=rev&root=grub&revision=1801
Author:   bean
Date:     2008-08-12 13:58:29 +0000 (Tue, 12 Aug 2008)

Log Message:
-----------
2008-08-12  Bean  <address@hidden>

        * disk/raid.c (grub_raid_read): Fix a bug in raid0 code.

Modified Paths:
--------------
    trunk/grub2/ChangeLog
    trunk/grub2/disk/raid.c

Modified: trunk/grub2/ChangeLog
===================================================================
--- trunk/grub2/ChangeLog       2008-08-11 14:57:39 UTC (rev 1800)
+++ trunk/grub2/ChangeLog       2008-08-12 13:58:29 UTC (rev 1801)
@@ -1,3 +1,7 @@
+2008-08-12  Bean  <address@hidden>
+
+       * disk/raid.c (grub_raid_read): Fix a bug in raid0 code.
+
 2008-08-11  Robert Millan  <address@hidden>
 
        * kern/i386/linuxbios/startup.S: Move from here ...

Modified: trunk/grub2/disk/raid.c
===================================================================
--- trunk/grub2/disk/raid.c     2008-08-11 14:57:39 UTC (rev 1800)
+++ trunk/grub2/disk/raid.c     2008-08-12 13:58:29 UTC (rev 1801)
@@ -177,7 +177,7 @@
            if (err)
              break;
 
-           buf += read_size;
+           buf += read_size << GRUB_DISK_SECTOR_BITS;
            size -= read_size;
            if (! size)
              break;






reply via email to

[Prev in Thread] Current Thread [Next in Thread]