Remove Revision 1.6 change, broke freebsd and memtest
authortimlegge <timlegge>
Tue, 19 Jul 2005 01:52:34 +0000 (01:52 +0000)
committertimlegge <timlegge>
Tue, 19 Jul 2005 01:52:34 +0000 (01:52 +0000)
src/core/osloader.c

index ae67b34..7e0a998 100644 (file)
@@ -350,9 +350,9 @@ int load_block(unsigned char *data, unsigned int block, unsigned int len, int eo
        else {
                len -= (skip_sectors << 9) + skip_bytes;
                data += (skip_sectors << 9) + skip_bytes;
        else {
                len -= (skip_sectors << 9) + skip_bytes;
                data += (skip_sectors << 9) + skip_bytes;
+               skip_sectors = os_download(data, len, eof);
+               skip_bytes = 0;
        }
        }
-       skip_sectors = os_download(data, len, eof);
-       skip_bytes = 0;
        
        return 1;
 }
        
        return 1;
 }