]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/hostname/hostnamectl.c
bus-util: rename bus_open_transport() to bus_connect_transport()
[thirdparty/systemd.git] / src / hostname / hostnamectl.c
index 7974683179f927dff62d2ae8180f0c57dc3d35f1..0724fcc16dbe88036596ebddc1e090c103e6bbc2 100644 (file)
@@ -517,7 +517,7 @@ int main(int argc, char *argv[]) {
         if (r <= 0)
                 goto finish;
 
-        r = bus_open_transport(arg_transport, arg_host, false, &bus);
+        r = bus_connect_transport(arg_transport, arg_host, false, &bus);
         if (r < 0) {
                 log_error_errno(r, "Failed to create bus connection: %m");
                 goto finish;