chiark / gitweb /
bus: catch up with kdbus changes (ABI break)
[elogind.git] / src / libsystemd / sd-bus / bus-control.c
index bd392a2937559902c9b295a8d2661b472eab82f1..8eb0232ca44b873b9a081d8c98dec533ddf63a9a 100644 (file)
@@ -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)