summaryrefslogtreecommitdiff
path: root/google/zip_reader.cc
diff options
context:
space:
mode:
Diffstat (limited to 'google/zip_reader.cc')
-rw-r--r--google/zip_reader.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/google/zip_reader.cc b/google/zip_reader.cc
index d2f86a4..93fe134 100644
--- a/google/zip_reader.cc
+++ b/google/zip_reader.cc
@@ -550,8 +550,8 @@ bool FilePathWriterDelegate::PrepareOutput() {
return false;
}
- owned_file_.Initialize(output_file_path_, base::File::FLAG_CREATE_ALWAYS |
- base::File::FLAG_WRITE);
+ owned_file_.Initialize(output_file_path_,
+ base::File::FLAG_CREATE | base::File::FLAG_WRITE);
PLOG_IF(ERROR, !owned_file_.IsValid())
<< "Cannot create file " << Redact(output_file_path_) << ": "
<< base::File::ErrorToString(owned_file_.error_details());