summaryrefslogtreecommitdiffstats
path: root/rbutil/ipodpatcher/ipodio-posix.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/ipodio-posix.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/ipodio-posix.c')
-rw-r--r--rbutil/ipodpatcher/ipodio-posix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rbutil/ipodpatcher/ipodio-posix.c b/rbutil/ipodpatcher/ipodio-posix.c
index 065aae6303..e496fa39bc 100644
--- a/rbutil/ipodpatcher/ipodio-posix.c
+++ b/rbutil/ipodpatcher/ipodio-posix.c
@@ -185,7 +185,7 @@ int ipod_open(struct ipod_t* ipod, int silent)
/* Read information about the disk */
if(ioctl(ipod->dh,IPOD_SECTORSIZE_IOCTL,&ipod->sector_size) < 0) {
- ipod->sector_size=512;
+ ipod->sector_size=2048;
if (!silent) {
fprintf(stderr,"[ERR] ioctl() call to get sector size failed, defaulting to %d\n"
,ipod->sector_size);