diff options
author | Kay Sievers <kay@vrfy.org> | 2013-12-12 20:26:48 +0100 |
---|---|---|
committer | Kay Sievers <kay@vrfy.org> | 2013-12-12 20:27:23 +0100 |
commit | 5bb658a1784a0fd4f0f32adb4b1fb636ff503f7d (patch) | |
tree | 0fe5c18cda562b1d521b49338b5647d1a2b4f000 | |
parent | 07442efff8d14ab18b0bc55ceba62b26aa055318 (diff) |
bus: remove explicit activator-specific flags, the kdbus supports it now
-rw-r--r-- | src/hostname/hostnamed.c | 2 | ||||
-rw-r--r-- | src/locale/localed.c | 2 | ||||
-rw-r--r-- | src/login/logind.c | 2 | ||||
-rw-r--r-- | src/machine/machined.c | 2 | ||||
-rw-r--r-- | src/timedate/timedated.c | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/src/hostname/hostnamed.c b/src/hostname/hostnamed.c index 36845c4972..3f08d1c0ec 100644 --- a/src/hostname/hostnamed.c +++ b/src/hostname/hostnamed.c @@ -574,7 +574,7 @@ static int connect_bus(Context *c, sd_event *event, sd_bus **_bus) { return r; } - r = sd_bus_request_name(bus, "org.freedesktop.hostname1", SD_BUS_NAME_REPLACE_EXISTING); + r = sd_bus_request_name(bus, "org.freedesktop.hostname1", 0); if (r < 0) { log_error("Failed to register name: %s", strerror(-r)); return r; diff --git a/src/locale/localed.c b/src/locale/localed.c index 54f297177c..65318b6067 100644 --- a/src/locale/localed.c +++ b/src/locale/localed.c @@ -1094,7 +1094,7 @@ static int connect_bus(Context *c, sd_event *event, sd_bus **_bus) { return r; } - r = sd_bus_request_name(bus, "org.freedesktop.locale1", SD_BUS_NAME_REPLACE_EXISTING); + r = sd_bus_request_name(bus, "org.freedesktop.locale1", 0); if (r < 0) { log_error("Failed to register name: %s", strerror(-r)); return r; diff --git a/src/login/logind.c b/src/login/logind.c index 29f527259b..222608743e 100644 --- a/src/login/logind.c +++ b/src/login/logind.c @@ -727,7 +727,7 @@ static int manager_connect_bus(Manager *m) { return r; } - r = sd_bus_request_name(m->bus, "org.freedesktop.login1", SD_BUS_NAME_REPLACE_EXISTING); + r = sd_bus_request_name(m->bus, "org.freedesktop.login1", 0); if (r < 0) { log_error("Failed to register name: %s", strerror(-r)); return r; diff --git a/src/machine/machined.c b/src/machine/machined.c index f695cfe116..6550075b56 100644 --- a/src/machine/machined.c +++ b/src/machine/machined.c @@ -219,7 +219,7 @@ static int manager_connect_bus(Manager *m) { return r; } - r = sd_bus_request_name(m->bus, "org.freedesktop.machine1", SD_BUS_NAME_REPLACE_EXISTING); + r = sd_bus_request_name(m->bus, "org.freedesktop.machine1", 0); if (r < 0) { log_error("Failed to register name: %s", strerror(-r)); return r; diff --git a/src/timedate/timedated.c b/src/timedate/timedated.c index c1ceeee070..37173a252c 100644 --- a/src/timedate/timedated.c +++ b/src/timedate/timedated.c @@ -791,7 +791,7 @@ static int connect_bus(Context *c, sd_event *event, sd_bus **_bus) { return r; } - r = sd_bus_request_name(bus, "org.freedesktop.timedate1", SD_BUS_NAME_REPLACE_EXISTING); + r = sd_bus_request_name(bus, "org.freedesktop.timedate1", 0); if (r < 0) { log_error("Failed to register name: %s", strerror(-r)); return r; |