aboutsummaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-rw-r--r--utils/bsincgen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/bsincgen.c b/utils/bsincgen.c
index 40e487ba..e84f1edc 100644
--- a/utils/bsincgen.c
+++ b/utils/bsincgen.c
@@ -369,7 +369,7 @@ int main(int argc, char *argv[])
if(argc == 2)
{
- output = fopen(argv[1], "rb");
+ output = fopen(argv[1], "wb");
if(!output)
{
fprintf(stderr, "Failed to open %s for writing\n", argv[1]);