X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=extras%2Fezio%2Ftty.c;h=432882852b4b2064f8729d50be9f1b1c8088fd52;hb=54294187a62dd13ff1531a1a5abcd5761203cd56;hp=fefeea15545334ef13803eed6215c80633c9575c;hpb=67a4917b07031b387beafaedce413b4207214059;p=openvswitch diff --git a/extras/ezio/tty.c b/extras/ezio/tty.c index fefeea15..43288285 100644 --- a/extras/ezio/tty.c +++ b/extras/ezio/tty.c @@ -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);