summaryrefslogtreecommitdiff
path: root/rbutil/ipodpatcher/ipodpatcher.c
diff options
context:
space:
mode:
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)
2080 return -1; 2080 return -1;
2081 } 2081 }
2082 2082
2083 if ((n = ipod_read(ipod, ipod_sectorbuf, 512)) < 0) { 2083 if ((n = ipod_read(ipod, ipod_sectorbuf, ipod->sector_size)) < 0) {
2084 return -1; 2084 return -1;
2085 } 2085 }
2086 2086