1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-25 01:34:28 +03:00

coredump: use for() loop instead of while()

This commit is contained in:
Stefan Schweter 2016-10-12 22:49:01 +02:00
parent e7f1334f07
commit aa7530d681

View File

@ -589,7 +589,7 @@ static int get_mount_namespace_leader(pid_t pid, pid_t *container_pid) {
if (r < 0)
return r;
while (1) {
for (;;) {
ino_t parent_mntns;
r = get_process_ppid(cpid, &ppid);