rtnl: rename rtnl_bus_send_with_reply_and_block() to rtnl_bus_call()

Follow the equivalent rename in sd-bus to stay as similar as possible.
This commit is contained in:
Tom Gundersen
2013-11-13 19:48:44 +01:00
parent 38fdcbedd1
commit fe4824e065
7 changed files with 12 additions and 11 deletions
+1 -1
View File
@@ -98,7 +98,7 @@ int address_configure(Manager *manager, Address *address, Link *link) {
}
}
r = sd_rtnl_send_with_reply_and_block(manager->rtnl, req, 0, NULL);
r = sd_rtnl_call(manager->rtnl, req, 0, NULL);
if (r < 0) {
log_error("Could not configure address: %s", strerror(-r));
return r != -EEXIST ? r : 0;
+1 -1
View File
@@ -107,7 +107,7 @@ int link_up(Manager *manager, Link *link) {
return r;
}
r = sd_rtnl_send_with_reply_and_block(manager->rtnl, req, 0, NULL);
r = sd_rtnl_call(manager->rtnl, req, 0, NULL);
if (r < 0) {
log_error("Could not UP link: %s", strerror(-r));
return r;
+1 -1
View File
@@ -83,7 +83,7 @@ int route_configure(Manager *manager, Route *route, Link *link) {
return r;
}
r = sd_rtnl_send_with_reply_and_block(manager->rtnl, req, 0, NULL);
r = sd_rtnl_call(manager->rtnl, req, 0, NULL);
if (r < 0) {
log_error("Could not configure route: %s", strerror(-r));
return r;