1
0
mirror of https://github.com/systemd/systemd.git synced 2025-01-26 14:04:03 +03:00

util: fix bad memory access

This commit is contained in:
Lennart Poettering 2013-01-17 17:38:00 +01:00
parent 2fd9b50ce2
commit 86ed7ec58b

View File

@ -439,7 +439,6 @@ int get_parent_of_pid(pid_t pid, pid_t *_ppid) {
if (!fgets(line, sizeof(line), f)) {
r = feof(f) ? -EIO : -errno;
fclose(f);
return r;
}