chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bus: add APIs for negotiating what is attached to messages
[elogind.git]
/
src
/
stdio-bridge
/
stdio-bridge.c
diff --git
a/src/stdio-bridge/stdio-bridge.c
b/src/stdio-bridge/stdio-bridge.c
index a5bdb03416315e1f15fbd987cf796779e6deadd0..ab1a43ab1a99f586ccf57499810106e5c2c1d9a6 100644
(file)
--- a/
src/stdio-bridge/stdio-bridge.c
+++ b/
src/stdio-bridge/stdio-bridge.c
@@
-68,7
+68,7
@@
int main(int argc, char *argv[]) {
goto finish;
}
goto finish;
}
- r = sd_bus_
set_
negotiate_fds(a, is_unix);
+ r = sd_bus_negotiate_fds(a, is_unix);
if (r < 0) {
log_error("Failed to set FD negotiation: %s", strerror(-r));
goto finish;
if (r < 0) {
log_error("Failed to set FD negotiation: %s", strerror(-r));
goto finish;
@@
-104,7
+104,7
@@
int main(int argc, char *argv[]) {
goto finish;
}
goto finish;
}
- r = sd_bus_
set_
negotiate_fds(b, is_unix);
+ r = sd_bus_negotiate_fds(b, is_unix);
if (r < 0) {
log_error("Failed to set FD negotiation: %s", strerror(-r));
goto finish;
if (r < 0) {
log_error("Failed to set FD negotiation: %s", strerror(-r));
goto finish;