diff options
Diffstat (limited to 'src/locale')
-rw-r--r-- | src/locale/localectl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/locale/localectl.c b/src/locale/localectl.c index 26d7d5890e..880a1794aa 100644 --- a/src/locale/localectl.c +++ b/src/locale/localectl.c @@ -676,7 +676,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; |