(udev) Use {{0}} for initialization

This commit is contained in:
twinaphex 2015-06-03 21:29:08 +02:00
parent 9c6f8eed40
commit 77ba9c650f

View File

@ -663,7 +663,7 @@ static void restore_terminal_signal(int sig)
static void disable_terminal_input(void)
{
struct sigaction sa = {0};
struct sigaction sa = {{0}};
/* Avoid accidentally typing stuff. */
if (!isatty(0) || oldkbmd != 0xffff)