* commit '86e441fc9c4191439b53b9917cf432ca2d16330a': build: fs_config_generate must open file in binary mode
This commit is contained in:
commit
db6a4158fe
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ int main(int argc, char** argv) {
|
|||
usage();
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
fp = fopen(optarg, "w");
|
||||
fp = fopen(optarg, "wb");
|
||||
if (fp == NULL) {
|
||||
fprintf(stderr, "Can not open \"%s\"\n", optarg);
|
||||
exit(EXIT_FAILURE);
|
||||
|
|
Loading…
Reference in a new issue