diff options
Diffstat (limited to 'miscutils')
-rw-r--r-- | miscutils/microcom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/miscutils/microcom.c b/miscutils/microcom.c index 2857a1b..ea48291 100644 --- a/miscutils/microcom.c +++ b/miscutils/microcom.c @@ -19,7 +19,7 @@ static void signal_handler(int signo) // set raw tty mode static void xget1(int fd, struct termios *t, struct termios *oldt) -{ +{ tcgetattr(fd, oldt); *t = *oldt; cfmakeraw(t); |