#include "fatal-signal.h"
#include "socket-util.h"
#include "util.h"
-
-#define THIS_MODULE VLM_tty
#include "vlog.h"
+VLOG_DEFINE_THIS_MODULE(tty)
+
/* Get major() and minor() macros. */
#if MAJOR_IN_MKDEV
# include <sys/mkdev.h>
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);