summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-11-25 23:03:03 +0100
committerLennart Poettering <lennart@poettering.net>2013-11-25 23:03:03 +0100
commit6301a98cdf26dc073f5317506c806bfa69f74cc8 (patch)
tree060b970b4a146eefd70f41dbdcf46969e04182cb /src/core
parent0fc5ab9057def462a74af6ab374fb30213a2dbc0 (diff)
core: fix order of parameters in broadcast_signal()
Diffstat (limited to 'src/core')
-rw-r--r--src/core/killall.c2
-rw-r--r--src/core/killall.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/core/killall.c b/src/core/killall.c
index a7828dc047..ea9bfa105e 100644
--- a/src/core/killall.c
+++ b/src/core/killall.c
@@ -199,7 +199,7 @@ static int killall(int sig, Set *pids, bool send_sighup) {
return set_size(pids);
}
-void broadcast_signal(int sig, bool send_sighup, bool wait_for_exit) {
+void broadcast_signal(int sig, bool wait_for_exit, bool send_sighup) {
sigset_t mask, oldmask;
Set *pids = NULL;
diff --git a/src/core/killall.h b/src/core/killall.h
index bdb73e44be..986cf432cb 100644
--- a/src/core/killall.h
+++ b/src/core/killall.h
@@ -21,4 +21,4 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
-void broadcast_signal(int sig, bool wait, bool send_sighup);
+void broadcast_signal(int sig, bool wait_for_exit, bool send_sighup);