summaryrefslogtreecommitdiff
path: root/src/core/dbus-kill.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/dbus-kill.c')
-rw-r--r--src/core/dbus-kill.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/dbus-kill.c b/src/core/dbus-kill.c
index f3cfb226e8..025945a23a 100644
--- a/src/core/dbus-kill.c
+++ b/src/core/dbus-kill.c
@@ -78,7 +78,7 @@ int bus_kill_context_set_transient_property(
return r;
if (sig <= 0 || sig >= _NSIG)
- return sd_bus_error_setf(error, "Signal %i out of range", sig);
+ return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Signal %i out of range", sig);
if (mode != UNIT_CHECK) {
c->kill_signal = sig;