mirror of https://github.com/Icinga/icinga2.git
Fixed incorrect parameters for memset().
This commit is contained in:
parent
7b03c77b66
commit
b27465feae
|
@ -354,7 +354,7 @@ void Application::ExceptionHandler(void)
|
|||
|
||||
#ifndef _WIN32
|
||||
struct sigaction sa;
|
||||
memset(&sa, sizeof(sa), 0);
|
||||
memset(&sa, 0, sizeof(sa));
|
||||
sa.sa_handler = SIG_DFL;
|
||||
sigaction(SIGABRT, &sa, NULL);
|
||||
#endif /* _WIN32 */
|
||||
|
|
Loading…
Reference in New Issue