summaryrefslogtreecommitdiff
path: root/src/locale
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-11-11 18:55:34 +0100
committerLennart Poettering <lennart@poettering.net>2013-11-12 00:12:43 +0100
commitc49b30a23583ff39daaa26696bcab478d2fee0bb (patch)
tree960176d9d201122ab61763fca610f632468a09fe /src/locale
parent1823b86ebf955b737fb87372b211fa45ba799a48 (diff)
bus: rename sd_bus_send_with_reply_and_block() to sd_bus_call()
The call is one of the most important ones we expose, where we place major emphasis on. We should make sure to give it a short, memorable name.
Diffstat (limited to 'src/locale')
-rw-r--r--src/locale/localectl.c2
-rw-r--r--src/locale/localed.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/locale/localectl.c b/src/locale/localectl.c
index ed66668f79..d8dd66a197 100644
--- a/src/locale/localectl.c
+++ b/src/locale/localectl.c
@@ -164,7 +164,7 @@ static int set_locale(sd_bus *bus, char **args, unsigned n) {
if (r < 0)
return bus_log_create_error(r);
- r = sd_bus_send_with_reply_and_block(bus, m, 0, &error, NULL);
+ r = sd_bus_call(bus, m, 0, &error, NULL);
if (r < 0) {
log_error("Failed to issue method call: %s", bus_error_message(&error, -r));
return r;
diff --git a/src/locale/localed.c b/src/locale/localed.c
index 744d304c6d..7e03d82575 100644
--- a/src/locale/localed.c
+++ b/src/locale/localed.c
@@ -382,7 +382,7 @@ static int locale_update_system_manager(Context *c, sd_bus *bus) {
if (r < 0)
return r;
- r = sd_bus_send_with_reply_and_block(bus, m, 0, &error, NULL);
+ r = sd_bus_call(bus, m, 0, &error, NULL);
if (r < 0)
log_error("Failed to update the manager environment: %s", strerror(-r));