summaryrefslogtreecommitdiffhomepage
path: root/procps
diff options
context:
space:
mode:
Diffstat (limited to 'procps')
-rw-r--r--procps/kill.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/procps/kill.c b/procps/kill.c
index 18121f06f..5b167326f 100644
--- a/procps/kill.c
+++ b/procps/kill.c
@@ -94,7 +94,7 @@ do_it_now:
pid = getpid();
sid = getsid(pid);
/* Now kill all processes except our session */
- while ((p = procps_scan(p, PSSCAN_PID|PSSCAN_SID))) {
+ while ((p = procps_scan(p, PSSCAN_PID|PSSCAN_SID))) {
if (p->sid != sid && p->pid != pid && p->pid != 1)
kill(p->pid, signo);
}