summaryrefslogtreecommitdiff
path: root/sway/main.c
diff options
context:
space:
mode:
authoremersion <[email protected]>2018-07-02 09:06:02 +0100
committerGitHub <[email protected]>2018-07-02 09:06:02 +0100
commitdefb73596fedec846280b9155bb3e9d210da49bb (patch)
tree0a3e6c9e5efaf0e8bb5f01ab7691350cd063ebcb /sway/main.c
parent649e084f41295be761c0e9137831281b220dd970 (diff)
parent2725185aeba3ae5dd4ab129158cb4677a8a63042 (diff)
Merge pull request #2186 from martinetd/static-analysis
Static analysis fixes
Diffstat (limited to 'sway/main.c')
-rw-r--r--sway/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/main.c b/sway/main.c
index a325dc3a..124f9fbb 100644
--- a/sway/main.c
+++ b/sway/main.c
@@ -175,7 +175,7 @@ static void log_kernel() {
}
free(line);
}
- fclose(f);
+ pclose(f);
}
static void security_sanity_check() {