HAL_Linux: fixed an error found with valgrind

sa_flags wasn't initialised
This commit is contained in:
Andrew Tridgell committed 2018-11-27 09:38:18 +11:00
1 parent 8c464572d8
commit 02519afdf4
1 file changed
+1 -1
+1 -1
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;