Message ID | 20170322030923.GB14226@eguan.usersys.redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/src/dio-invalidate-cache.c b/src/dio-invalidate-cache.c index bc795f9..4c40c87 100644 --- a/src/dio-invalidate-cache.c +++ b/src/dio-invalidate-cache.c @@ -73,12 +73,11 @@ static void kill_children(pid_t *pids, int nr_child) pid_t pid; for (i = 0; i < nr_child; i++) { - pid = *(pids + i); + pid = pids[i]; if (pid == 0) continue; kill(pid, SIGTERM); } - return; } static int wait_children(pid_t *pids, int nr_child)