HAL_Linux: fixed an error found with valgrind

sa_flags wasn't initialised
This commit is contained in:
Andrew Tridgell 2018-11-26 17:10:25 +11:00
parent 8c464572d8
commit 02519afdf4
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ bool ConsoleDevice::open()
bool ConsoleDevice::_set_signal_handlers(void) const
{
struct sigaction sa;
struct sigaction sa {};
sigemptyset(&sa.sa_mask);
sa.sa_handler = SIG_IGN;