summaryrefslogtreecommitdiff
path: root/Build/source/utils/autosp/autosp-src/rebar.c
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/utils/autosp/autosp-src/rebar.c')
-rw-r--r--Build/source/utils/autosp/autosp-src/rebar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/source/utils/autosp/autosp-src/rebar.c b/Build/source/utils/autosp/autosp-src/rebar.c
index ec6e40c7cd7..ea7b6f556e0 100644
--- a/Build/source/utils/autosp/autosp-src/rebar.c
+++ b/Build/source/utils/autosp/autosp-src/rebar.c
@@ -262,7 +262,7 @@ main (int argc, char *argv[])
else
append (outfilename, &outfilename_n, ".aspc", sizeof (outfilename));
}
- outfile = fopen (outfilename, "w");
+ outfile = fopen (outfilename, "wb");
if (outfile == NULL)
{ fprintf (stderr,"Can't open %s\n", outfilename);
exit (EXIT_FAILURE);