summaryrefslogtreecommitdiff
path: root/rbutil/ipodpatcher/ipodpatcher.c
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2010-01-28 09:37:05 +0000
committerDave Chapman <dave@dchapman.com>2010-01-28 09:37:05 +0000
commit428064016bdc569dbb4b794dca35e06634254c12 (patch)
treee773a0b4059584f3e8c0078340db04405ed287e1 /rbutil/ipodpatcher/ipodpatcher.c
parent4cb879d08d2e0c5d9cc664f2eee3651188ab58ed (diff)
downloadrockbox-428064016bdc569dbb4b794dca35e06634254c12.tar.gz
rockbox-428064016bdc569dbb4b794dca35e06634254c12.zip
Revert most of r24361 - it was committed in error.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24362 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 a21ddbd0fd..b2f01b8223 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)
2080 return -1; 2080 return -1;
2081 } 2081 }
2082 2082
2083 if ((n = ipod_read(ipod, ipod_sectorbuf, ipod->sector_size)) < 0) { 2083 if ((n = ipod_read(ipod, ipod_sectorbuf, 512)) < 0) {
2084 return -1; 2084 return -1;
2085 } 2085 }
2086 2086