[systemd-commits] src/bus-driverd
Daniel Mack
zonque at kemper.freedesktop.org
Tue Dec 17 02:22:31 PST 2013
src/bus-driverd/bus-driverd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit f92f3ff96777048c1f21d5cc4548401b3c5047bc
Author: Lukasz Skalski <l.skalski at partner.samsung.com>
Date: Tue Dec 17 09:50:16 2013 +0100
bus-driverd: Fix unique name return in driver_get_name_owner
diff --git a/src/bus-driverd/bus-driverd.c b/src/bus-driverd/bus-driverd.c
index ce2e1b2..d2b3e08 100644
--- a/src/bus-driverd/bus-driverd.c
+++ b/src/bus-driverd/bus-driverd.c
@@ -247,7 +247,7 @@ static int driver_get_name_owner(sd_bus *bus, sd_bus_message *m, void *userdata,
if (r < 0)
return r;
- r = sd_bus_get_owner(bus, arg0, 0, &creds);
+ r = sd_bus_get_owner(bus, arg0, SD_BUS_CREDS_UNIQUE_NAME, &creds);
if (r < 0) {
if (r == -ENOENT)
return driver_name_info_error(bus, m, arg0, r);
More information about the systemd-commits
mailing list