summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBarry Wardell <rockbox@barrywardell.net>2007-10-20 15:41:44 +0000
committerBarry Wardell <rockbox@barrywardell.net>2007-10-20 15:41:44 +0000
commit003fc494c216181c70b3e9dde36302a5b6324a20 (patch)
tree564c5877d74438a309633b7f750b84b42bc27683
parentf889b778c834a700bef59a9b1e309c1cf4f03536 (diff)
Make the firmware partition dump code compile again.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15223 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--bootloader/main-pp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bootloader/main-pp.c b/bootloader/main-pp.c
index ec83af5485..b0add13fb4 100644
--- a/bootloader/main-pp.c
+++ b/bootloader/main-pp.c
@@ -602,7 +602,7 @@ void* main(void)
{
printf("dumping sector %d", i);
}
- ata_read_sectors(0, pinfo->start + i, 1, sector);
+ ata_read_sectors(IF_MV2(0,) pinfo->start + i, 1, sector);
write(fd,sector,512);
}
close(fd);