summaryrefslogtreecommitdiff
path: root/rbutil/ipodpatcher/ipodio-posix.c
diff options
context:
space:
mode:
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)
185 /* Read information about the disk */ 185 /* Read information about the disk */
186 186
187 if(ioctl(ipod->dh,IPOD_SECTORSIZE_IOCTL,&ipod->sector_size) < 0) { 187 if(ioctl(ipod->dh,IPOD_SECTORSIZE_IOCTL,&ipod->sector_size) < 0) {
188 ipod->sector_size=2048; 188 ipod->sector_size=512;
189 if (!silent) { 189 if (!silent) {
190 fprintf(stderr,"[ERR] ioctl() call to get sector size failed, defaulting to %d\n" 190 fprintf(stderr,"[ERR] ioctl() call to get sector size failed, defaulting to %d\n"
191 ,ipod->sector_size); 191 ,ipod->sector_size);