summaryrefslogtreecommitdiffstats
path: root/rbutil/ipodpatcher/ipodio-posix.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/ipodio-posix.c
parent4cb879d08d2e0c5d9cc664f2eee3651188ab58ed (diff)
downloadrockbox-428064016bdc569dbb4b794dca35e06634254c12.tar.gz
rockbox-428064016bdc569dbb4b794dca35e06634254c12.tar.bz2
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/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 e496fa39bc..065aae6303 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=2048;
+ ipod->sector_size=512;
if (!silent) {
fprintf(stderr,"[ERR] ioctl() call to get sector size failed, defaulting to %d\n"
,ipod->sector_size);