chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
analyze/run: use bus_open_transport_systemd instead of bus_open_transport
[elogind.git]
/
src
/
run
/
run.c
diff --git
a/src/run/run.c
b/src/run/run.c
index e4c695c5b505f08dcecc050c92c3236b2bb6d872..9d5527b29c6cf209b6e12ac7a0b4dc66d16a4327 100644
(file)
--- a/
src/run/run.c
+++ b/
src/run/run.c
@@
-593,7
+593,7
@@
int main(int argc, char* argv[]) {
arg_description = description;
}
arg_description = description;
}
- r = bus_open_transport(arg_transport, arg_host, arg_user, &bus);
+ r = bus_open_transport
_systemd
(arg_transport, arg_host, arg_user, &bus);
if (r < 0) {
log_error("Failed to create bus connection: %s", strerror(-r));
goto finish;
if (r < 0) {
log_error("Failed to create bus connection: %s", strerror(-r));
goto finish;