Merge "Fix a call to openat with incorrect arguments"

This commit is contained in:
Treehugger Robot 2017-01-19 23:58:21 +00:00 committed by Gerrit Code Review
commit 18044da576
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ static unique_fd get_tombstone_fd() {
}
result.reset(
openat(tombstone_directory_fd, buf, O_CREAT | O_EXCL | O_WRONLY | O_APPEND, O_CLOEXEC, 0700));
openat(tombstone_directory_fd, buf, O_CREAT | O_EXCL | O_WRONLY | O_APPEND | O_CLOEXEC, 0700));
if (result == -1) {
PLOG(FATAL) << "failed to create tombstone at " << kTombstoneDirectory << buf;
}