aboutsummaryrefslogtreecommitdiffstats
path: root/src/firemon
diff options
context:
space:
mode:
authorLibravatar Martin Carpenter <mcarpenter@free.fr>2016-01-30 10:23:07 +0100
committerLibravatar Martin Carpenter <mcarpenter@free.fr>2016-01-30 10:23:07 +0100
commiteed7c2c6e5a3fb709c1d86c4563af5f7e3f184f6 (patch)
tree4741c17750f7e1fd4102606b0331af6a6b03255f /src/firemon
parentrelease 0.9.38-rc1 testing (diff)
downloadfirejail-eed7c2c6e5a3fb709c1d86c4563af5f7e3f184f6.tar.gz
firejail-eed7c2c6e5a3fb709c1d86c4563af5f7e3f184f6.tar.zst
firejail-eed7c2c6e5a3fb709c1d86c4563af5f7e3f184f6.zip
Typos
Diffstat (limited to 'src/firemon')
-rw-r--r--src/firemon/cpu.c2
-rw-r--r--src/firemon/firemon.c2
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
75void firemon_sleep(int st) { 75void 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