diff options
-rw-r--r-- | rbutil/ipodpatcher/ipod2c.c | 2 |
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[]) | |||
106 | infile=argv[1]; | 106 | infile=argv[1]; |
107 | cname=argv[2]; | 107 | cname=argv[2]; |
108 | 108 | ||
109 | fd = open(infile,O_RDONLY); | 109 | fd = open(infile,O_RDONLY|O_BINARY); |
110 | if (fd < 0) { | 110 | if (fd < 0) { |
111 | fprintf(stderr,"Can not open %s\n",infile); | 111 | fprintf(stderr,"Can not open %s\n",infile); |
112 | return 0; | 112 | return 0; |