diff options
author | Mark Salyzyn <salyzyn@google.com> | 2015-04-16 17:31:36 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2015-04-16 17:31:36 +0000 |
commit | db6a4158fe45c1ff94fe71a94ea48ebb24c16799 (patch) | |
tree | ecd83f7030b581151f32aa02f4ec5f7d1afc71ab | |
parent | 8cd7e9442cfbd8247bb99c312f6e98649b3afe42 (diff) | |
parent | 86e441fc9c4191439b53b9917cf432ca2d16330a (diff) | |
download | build-db6a4158fe45c1ff94fe71a94ea48ebb24c16799.zip build-db6a4158fe45c1ff94fe71a94ea48ebb24c16799.tar.gz build-db6a4158fe45c1ff94fe71a94ea48ebb24c16799.tar.bz2 |
am 86e441fc: am 1ff61a9b: Merge "build: fs_config_generate must open file in binary mode"
* commit '86e441fc9c4191439b53b9917cf432ca2d16330a':
build: fs_config_generate must open file in binary mode
-rw-r--r-- | tools/fs_config/fs_config_generate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/fs_config/fs_config_generate.c b/tools/fs_config/fs_config_generate.c index 87769c7..c06213f 100644 --- a/tools/fs_config/fs_config_generate.c +++ b/tools/fs_config/fs_config_generate.c @@ -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); |