summaryrefslogtreecommitdiff
path: root/src/libsystemd/sd-bus/bus-control.c
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2014-04-10 13:27:23 -0700
committerKay Sievers <kay@vrfy.org>2014-04-10 13:27:23 -0700
commit862bbf89c6e3db0a3ec265310eb6a92e0f1c375d (patch)
tree93db31b41699ddf264fc78fed6fe7bf8ed2dce9c /src/libsystemd/sd-bus/bus-control.c
parentdec51b29f9c7bd63b3c0555b486d163fb94981c9 (diff)
bus: catch up with kdbus changes (ABI break)
Diffstat (limited to 'src/libsystemd/sd-bus/bus-control.c')
-rw-r--r--src/libsystemd/sd-bus/bus-control.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd/sd-bus/bus-control.c b/src/libsystemd/sd-bus/bus-control.c
index bd392a2937..8eb0232ca4 100644
--- a/src/libsystemd/sd-bus/bus-control.c
+++ b/src/libsystemd/sd-bus/bus-control.c
@@ -395,7 +395,7 @@ static int bus_get_owner_kdbus(
/* Non-activated names are considered not available */
if (conn_info->flags & KDBUS_HELLO_ACTIVATOR)
- return name[0] == ':' ? -ENXIO : -ENOENT;
+ return name[0] == ':' ? -ENXIO : -ESRCH;
c = bus_creds_new();
if (!c)