2008-07-02 Pavel Roskin <proski@gnu.org>

* disk/ata.c (grub_ata_readwrite): Don't increment sector number
	for every read sector, we already increment it for the whole
	batch.  This fixes reading more than 256 sectors at once.
This commit is contained in:
proski 2008-07-02 23:58:06 +00:00
parent 11e16b157b
commit f707af4216
2 changed files with 4 additions and 1 deletions

View file

@ -1,5 +1,9 @@
2008-07-02 Pavel Roskin <proski@gnu.org>
* disk/ata.c (grub_ata_readwrite): Don't increment sector number
for every read sector, we already increment it for the whole
batch. This fixes reading more than 256 sectors at once.
* util/grub-editenv.c (cmd_info): Cast argument to long
explicitly. ptrdiff_t reduces to int on i386.