From de33fc625725d199629ed074d6278504deb23deb Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 23 Dec 2014 23:38:13 +0100 Subject: 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. --- src/run/run.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/run') 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; -- cgit v1.2.3-54-g00ecf