summaryrefslogtreecommitdiffstats
path: root/rbutil
diff options
context:
space:
mode:
Diffstat (limited to 'rbutil')
-rw-r--r--rbutil/ipodpatcher/ipod2c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rbutil/ipodpatcher/ipod2c.c b/rbutil/ipodpatcher/ipod2c.c
index 21dfd6bb62..a39f780f08 100644
--- a/rbutil/ipodpatcher/ipod2c.c
+++ b/rbutil/ipodpatcher/ipod2c.c
@@ -106,7 +106,7 @@ int main (int argc, char* argv[])
infile=argv[1];
cname=argv[2];
- fd = open(infile,O_RDONLY);
+ fd = open(infile,O_RDONLY|O_BINARY);
if (fd < 0) {
fprintf(stderr,"Can not open %s\n",infile);
return 0;