Add tools cleanup with parrent clean

This commit is contained in:
CTCaer
2020-12-26 16:17:03 +02:00
parent 2fba9848ae
commit e620783a89
4 changed files with 4 additions and 4 deletions

View File

@@ -76,7 +76,7 @@ int main(int argc, char *argv[])
if (nbytes > out_size)
goto error;
if((out_file = fopen(filename,"w")) == NULL)
if((out_file = fopen(filename,"wb")) == NULL)
goto error;
if (fwrite(out_buf, 1, nbytes, out_file) != nbytes)