mirror of
https://github.com/swaywm/sway.git
synced 2024-12-29 08:26:45 +01:00
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.
This commit is contained in:
parent
649e084f41
commit
1b7f554474
1 changed files with 1 additions and 1 deletions
|
@ -175,7 +175,7 @@ static void log_kernel() {
|
|||
}
|
||||
free(line);
|
||||
}
|
||||
fclose(f);
|
||||
pclose(f);
|
||||
}
|
||||
|
||||
static void security_sanity_check() {
|
||||
|
|
Loading…
Reference in a new issue