summaryrefslogtreecommitdiffstats
path: root/sway/log.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/log.c')
-rw-r--r--sway/log.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sway/log.c b/sway/log.c
index 03639ae4..8e380ffe 100644
--- a/sway/log.c
+++ b/sway/log.c
@@ -17,8 +17,7 @@ static const char *verbosity_colors[] = {
17 17
18void init_log(int verbosity) { 18void init_log(int verbosity) {
19 v = verbosity; 19 v = verbosity;
20 /* set FD_CLOEXEC flag to prevent programs called with exec to write into 20 /* set FD_CLOEXEC flag to prevent programs called with exec to write into logs */
21 * logs */
22 int i, flag; 21 int i, flag;
23 int fd[] = { STDOUT_FILENO, STDIN_FILENO, STDERR_FILENO }; 22 int fd[] = { STDOUT_FILENO, STDIN_FILENO, STDERR_FILENO };
24 for (i = 0; i < 3; ++i) { 23 for (i = 0; i < 3; ++i) {