mirror of
https://bitbucket.org/CPMADevs/cnq3
synced 2024-11-10 06:31:48 +00:00
passing the 3rd argument to open to please GCC
This commit is contained in:
parent
f5b7c66b5a
commit
c0ab2063d0
1 changed files with 1 additions and 1 deletions
|
@ -298,7 +298,7 @@ static void Sig_HandleCrash(int sig)
|
||||||
|
|
||||||
Sig_Unwind_GetContext();
|
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)
|
if (fd != -1)
|
||||||
{
|
{
|
||||||
Sig_PrintAttempt("write safe libunwind stack trace");
|
Sig_PrintAttempt("write safe libunwind stack trace");
|
||||||
|
|
Loading…
Reference in a new issue