summaryrefslogtreecommitdiffstats
path: root/rbutil/ipodpatcher/ipodpatcher.c
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2010-01-28 09:20:32 +0000
committerDave Chapman <dave@dchapman.com>2010-01-28 09:20:32 +0000
commit4cb879d08d2e0c5d9cc664f2eee3651188ab58ed (patch)
tree0b02fbe98089eee3bc98b64bbfaac9b82f63daf0 /rbutil/ipodpatcher/ipodpatcher.c
parent2347a7dc655e3fe9415558095b43a5f7102f999d (diff)
downloadrockbox-4cb879d08d2e0c5d9cc664f2eee3651188ab58ed.tar.gz
rockbox-4cb879d08d2e0c5d9cc664f2eee3651188ab58ed.tar.bz2
rockbox-4cb879d08d2e0c5d9cc664f2eee3651188ab58ed.zip
Update the comments describing how to build ipodpatcher - no functional changes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24361 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/ipodpatcher/ipodpatcher.c')
-rw-r--r--rbutil/ipodpatcher/ipodpatcher.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rbutil/ipodpatcher/ipodpatcher.c b/rbutil/ipodpatcher/ipodpatcher.c
index b2f01b8223..a21ddbd0fd 100644
--- a/rbutil/ipodpatcher/ipodpatcher.c
+++ b/rbutil/ipodpatcher/ipodpatcher.c
@@ -2080,7 +2080,7 @@ static int find_key(struct ipod_t* ipod, int aupd, unsigned char* key)
return -1;
}
- if ((n = ipod_read(ipod, ipod_sectorbuf, 512)) < 0) {
+ if ((n = ipod_read(ipod, ipod_sectorbuf, ipod->sector_size)) < 0) {
return -1;
}