mirror of
https://github.com/swaywm/sway.git
synced 2024-11-23 08:21:28 +00: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
|
@ -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