summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-07-19 02:17:11 +0200
committerLennart Poettering <lennart@poettering.net>2012-07-19 02:17:11 +0200
commit3d141780b8d509e4a6c3083de207cd84cbce187b (patch)
tree8a89d910febf3bc90b0fc3f7ec8471be48a54ade /src/core
parentdb7feb7e9c436ec3ad3b90cf21bd43d8036aad0d (diff)
killall: avoid gcc warning about wait name clash
Diffstat (limited to 'src/core')
-rw-r--r--src/core/killall.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/killall.c b/src/core/killall.c
index 6fcaf847cf..55200ffa48 100644
--- a/src/core/killall.c
+++ b/src/core/killall.c
@@ -150,7 +150,7 @@ static int killall(int sig) {
return n_processes;
}
-void broadcast_signal(int sig, bool wait) {
+void broadcast_signal(int sig, bool wait_for_exit) {
sigset_t mask, oldmask;
int n_processes;
@@ -169,7 +169,7 @@ void broadcast_signal(int sig, bool wait) {
if (n_processes <= 0)
goto finish;
- if (wait)
+ if (wait_for_exit)
wait_for_children(n_processes, &mask);
finish: