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.
master
Dominique Martinet 7 years ago
parent 649e084f41
commit 1b7f554474

@ -175,7 +175,7 @@ static void log_kernel() {
} }
free(line); free(line);
} }
fclose(f); pclose(f);
} }
static void security_sanity_check() { static void security_sanity_check() {

Loading…
Cancel
Save