projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vlog: Introduce VLOG_DEFINE_THIS_MODULE for declaring vlog module in use.
[openvswitch]
/
extras
/
ezio
/
tty.c
diff --git
a/extras/ezio/tty.c
b/extras/ezio/tty.c
index fefeea15545334ef13803eed6215c80633c9575c..a4bb14ce2179eeb29e47dd694d0a6ded1bbe0549 100644
(file)
--- a/
extras/ezio/tty.c
+++ b/
extras/ezio/tty.c
@@
-28,10
+28,10
@@
#include "fatal-signal.h"
#include "socket-util.h"
#include "util.h"
#include "fatal-signal.h"
#include "socket-util.h"
#include "util.h"
-
-#define THIS_MODULE VLM_tty
#include "vlog.h"
#include "vlog.h"
+VLOG_DEFINE_THIS_MODULE(tty)
+
/* Get major() and minor() macros. */
#if MAJOR_IN_MKDEV
# include <sys/mkdev.h>
/* Get major() and minor() macros. */
#if MAJOR_IN_MKDEV
# include <sys/mkdev.h>
@@
-263,7
+263,7
@@
tty_set_raw_mode(int fd, speed_t speed)
return errno;
}
s->tios = tios;
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);
tios.c_iflag &= ~(IGNBRK | BRKINT | PARMRK | ISTRIP
| INLCR | IGNCR | ICRNL | IXON);