From 428064016bdc569dbb4b794dca35e06634254c12 Mon Sep 17 00:00:00 2001 From: Dave Chapman Date: Thu, 28 Jan 2010 09:37:05 +0000 Subject: Revert most of r24361 - it was committed in error. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24362 a1c6a512-1295-4272-9138-f99709370657 --- rbutil/ipodpatcher/ipodpatcher.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rbutil/ipodpatcher/ipodpatcher.c') 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) return -1; } - if ((n = ipod_read(ipod, ipod_sectorbuf, ipod->sector_size)) < 0) { + if ((n = ipod_read(ipod, ipod_sectorbuf, 512)) < 0) { return -1; } -- cgit v1.2.3