diff options
author | Chris Robinson <[email protected]> | 2017-08-27 06:40:39 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2017-08-27 06:40:39 -0700 |
commit | 773d4664ff8f31837374164b64b992b86fcc80f7 (patch) | |
tree | 140955d3484e432d4ce15bf4462954c6e759becf /utils | |
parent | 72e3398baf59673bae22a5a4cd1500b3ceec3dd6 (diff) |
Properly open the output file for writing
Diffstat (limited to 'utils')
-rw-r--r-- | utils/bsincgen.c | 2 |
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]);
|