diff options
Diffstat (limited to 'src/firemon')
-rw-r--r-- | src/firemon/cpu.c | 2 | ||||
-rw-r--r-- | src/firemon/firemon.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/firemon/cpu.c b/src/firemon/cpu.c index b31d9a467..06658f58c 100644 --- a/src/firemon/cpu.c +++ b/src/firemon/cpu.c | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (C) 2014-2015 6etblue30 (netblue30@yahoo.com) | 2 | * Copyright (C) 2014-2015 netblue30 (netblue30@yahoo.com) |
3 | * | 3 | * |
4 | * This file is part of firejail project | 4 | * This file is part of firejail project |
5 | * | 5 | * |
diff --git a/src/firemon/firemon.c b/src/firemon/firemon.c index 83cce5c32..679c5a3e9 100644 --- a/src/firemon/firemon.c +++ b/src/firemon/firemon.c | |||
@@ -74,7 +74,7 @@ void firemon_drop_privs(void) { | |||
74 | // sleep and wait for a key to be pressed | 74 | // sleep and wait for a key to be pressed |
75 | void firemon_sleep(int st) { | 75 | void firemon_sleep(int st) { |
76 | if (terminal_set == 0) { | 76 | if (terminal_set == 0) { |
77 | tcgetattr(0, &twait); // get current terminal attirbutes; 0 is the file descriptor for stdin | 77 | tcgetattr(0, &twait); // get current terminal attributes; 0 is the file descriptor for stdin |
78 | memcpy(&tlocal, &twait, sizeof(tlocal)); | 78 | memcpy(&tlocal, &twait, sizeof(tlocal)); |
79 | twait.c_lflag &= ~ICANON; // disable canonical mode | 79 | twait.c_lflag &= ~ICANON; // disable canonical mode |
80 | twait.c_lflag &= ~ECHO; // no echo | 80 | twait.c_lflag &= ~ECHO; // no echo |