mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-12-22 13:33:40 +00:00
[common] fix failure to initialize structure
This commit is contained in:
parent
4cf2c7a350
commit
9554e82c47
@ -206,7 +206,7 @@ static void crit_err_hdlr(int sig_num, siginfo_t * info, void * ucontext)
|
||||
|
||||
bool installCrashHandler(const char * exe)
|
||||
{
|
||||
struct sigaction sigact;
|
||||
struct sigaction sigact = { 0 };
|
||||
|
||||
crash.exe = realpath(exe, NULL);
|
||||
sigact.sa_sigaction = crit_err_hdlr;
|
||||
|
Loading…
Reference in New Issue
Block a user