Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7b460b99 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix a bug in StorageManager."

parents dcfe47ba c7bdc629
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -40,7 +40,7 @@ using std::unique_ptr;

void StorageManager::writeFile(const char* file, const void* buffer, int numBytes) {
    int fd = open(file, O_WRONLY | O_CREAT | O_CLOEXEC, S_IRUSR | S_IWUSR);
    if (fd != -1) {
    if (fd == -1) {
        VLOG("Attempt to access %s but failed", file);
        return;
    }