diff options
author | Dominique Martinet <asmadeus@codewreck.org> | 2018-06-30 16:44:36 +0900 |
---|---|---|
committer | Dominique Martinet <asmadeus@codewreck.org> | 2018-07-02 08:03:41 +0900 |
commit | 1b7f554474552bd6c463b417305562d6d7dfd3d3 (patch) | |
tree | 9e4a8f642f4fe100a408d1b53ff61e56c649f5d3 /sway | |
parent | 649e084f41295be761c0e9137831281b220dd970 (diff) |
log_kernel: s/fclose/pclose/ (for popen'd FILE)
With recent glibc the functions are strictly identical, but this might
not be true for all libc implementations
Found through static analysis.
Diffstat (limited to 'sway')
-rw-r--r-- | sway/main.c | 2 |
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() { |