diff options
author | 2016-01-30 08:01:50 -0500 | |
---|---|---|
committer | 2016-01-30 08:01:50 -0500 | |
commit | f67698e31d04cd9c046f0779955eec1ed29710e3 (patch) | |
tree | 4741c17750f7e1fd4102606b0331af6a6b03255f /src/firemon/firemon.c | |
parent | release 0.9.38-rc1 testing (diff) | |
parent | Typos (diff) | |
download | firejail-f67698e31d04cd9c046f0779955eec1ed29710e3.tar.gz firejail-f67698e31d04cd9c046f0779955eec1ed29710e3.tar.zst firejail-f67698e31d04cd9c046f0779955eec1ed29710e3.zip |
Merge pull request #272 from mcarpenter/typos
Typos
Diffstat (limited to 'src/firemon/firemon.c')
-rw-r--r-- | src/firemon/firemon.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |