Merge "master" into "next".
[openvswitch] / extras / ezio / tty.c
index fefeea15545334ef13803eed6215c80633c9575c..432882852b4b2064f8729d50be9f1b1c8088fd52 100644 (file)
@@ -263,7 +263,7 @@ tty_set_raw_mode(int fd, speed_t speed)
             return errno;
         }
         s->tios = tios;
-        fatal_signal_add_hook(restore_termios, s, true);
+        fatal_signal_add_hook(restore_termios, NULL, s, true);
 
         tios.c_iflag &= ~(IGNBRK | BRKINT | PARMRK | ISTRIP
                           | INLCR | IGNCR | ICRNL | IXON);