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:
Dominique Martinet 2018-06-30 16:44:36 +09:00
parent 649e084f41
commit 1b7f554474

View file

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