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

Commit 2b0fedb7 authored by George Burgess IV's avatar George Burgess IV Committed by android-build-merger
Browse files

Merge "Add mode to open call with O_CREAT" am: af78fe13

am: f6b468db

Change-Id: I6ec7cd3bfa79ac95a042e26455073cb3cbec60c3
parents bfee6aee f6b468db
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1243,7 +1243,7 @@ int main(int argc, char **argv)
            fflush(stdout);
            int outFd = STDOUT_FILENO;
            if (g_outputFile) {
                outFd = open(g_outputFile, O_WRONLY | O_CREAT);
                outFd = open(g_outputFile, O_WRONLY | O_CREAT, 0644);
            }
            if (outFd == -1) {
                printf("Failed to open '%s', err=%d", g_outputFile, errno);