passing the 3rd argument to open to please GCC

This commit is contained in:
myT 2018-01-16 04:03:15 +01:00
parent f5b7c66b5a
commit c0ab2063d0
1 changed files with 1 additions and 1 deletions

View File

@ -298,7 +298,7 @@ static void Sig_HandleCrash(int sig)
Sig_Unwind_GetContext();
const int fd = open(Sig_BackTraceFilePath(), O_CREAT | O_TRUNC | O_WRONLY);
const int fd = open(Sig_BackTraceFilePath(), O_CREAT | O_TRUNC | O_WRONLY, 0644);
if (fd != -1)
{
Sig_PrintAttempt("write safe libunwind stack trace");