summaryrefslogtreecommitdiff
path: root/src/run
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-12-23 23:38:13 +0100
committerLennart Poettering <lennart@poettering.net>2014-12-24 16:53:04 +0100
commitde33fc625725d199629ed074d6278504deb23deb (patch)
treea7b5d8da7142bf2b394c5e65e8d3ef7be38002b8 /src/run
parent0254e9448f3c645758ed63618a3bbb13c242f5e7 (diff)
sd-bus: rename sd_bus_open_system_container() to sd_bus_open_system_machine()
Pretty much everywhere else we use the generic term "machine" when referring to containers in API, so let's do though in sd-bus too. In particular, since the concept of a "container" exists in sd-bus too, but as part of the marshalling system.
Diffstat (limited to 'src/run')
-rw-r--r--src/run/run.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/run/run.c b/src/run/run.c
index 05bfc61beb..b183e4e616 100644
--- a/src/run/run.c
+++ b/src/run/run.c
@@ -214,7 +214,7 @@ static int parse_argv(int argc, char *argv[]) {
break;
case 'M':
- arg_transport = BUS_TRANSPORT_CONTAINER;
+ arg_transport = BUS_TRANSPORT_MACHINE;
arg_host = optarg;
break;
@@ -679,7 +679,7 @@ static int start_transient_service(
if (r < 0)
return log_error_errno(r, "Failed to determine tty name: %m");
- } else if (arg_transport == BUS_TRANSPORT_CONTAINER) {
+ } else if (arg_transport == BUS_TRANSPORT_MACHINE) {
_cleanup_bus_unref_ sd_bus *system_bus = NULL;
_cleanup_bus_message_unref_ sd_bus_message *reply = NULL;
const char *s;